Fedora

Creating a swap file

From time to time you might have the need to create some extra swap space. Instead of creating a separate partition (maybe there is no more free space on the disk) you can create a swap file. This can also easily be removed after it is not needed anymore.

In this example we will add a swap file of 64 MB which 65536 * 1024k blocks.

autofsck behaviour after unclean shutdown

If a system goes down without proper shutdown it will tell you so during reboot and asks if you want to check the filesystem integrity. Unfortunately the prompt will stay there forever if you do not enter anything. To avoid unnecessary dowwntime due to system waiting for input the behaviour can be configured in the file /etc/sysconfig/autofsck (create it if it does not exist):

Installing Fedora 10 with ext4 filesystems

Fedora 10 supports already the new ext4 filesystem. This is not enabled by default during installation. You have to start the installer with the ext4 parameter at the boot prompt:

Forcing plymouth into graphic mode

In Fedora 10 RHGB has ben replaced by plymouth which no longer uses an X server. Depending on its configuration plymouth will show an animated solar in default configuration during startup. Depending on your graphic card plymouth might not be able to show this graphical screen and just show a text progress bar during boot process.

xorg.conf in Fedora 10

Fedora 10 has no /etc/X11/xorg.conf by default. The X setup is detected automatically. If this is not the case your display might remain black or is somehow disturbed.
In this case it can be useful to create a tiny /etc/X11/xorg.conf (which will be used if present).

Installing dependencies when installing a downloaded rpm

If you download an RPM its installation instructions (if there are any) will tell you to install the packge via

rpm -ivh rpm-file

This will work if the RPM has no further dependencies. But if there are some dependencies RPM will complain about missing libraries. Now you have to determine which package(s) you need to install to get these libraries.

Automatically login with Gnome

Depending on the Gnome version there are two ways to login automatically. You need to edit /etc/gdm/custom.conf and append the following section:

  • This is working with Gnome version 2.22 and higher (eg. Fedora 9/10)

    [daemon]
    TimedLoginEnable=true
    TimedLogin=user
    TimedLoginDelay=0

Wrong keyboard layout when entering boot crypto password

There is a bug in Fedora 10 when setting up encrypted filesystem which is pretty annoying if you have a non-US keyboard layout and use special characters as keyphrase:
See http://fedoraproject.org/wiki/Bugs/Common#Wrong_keyboard_layout_when_ent...