timeout:
timeout=20
To turn the timeout off and wait indefinitely for the user to select the operating system, remove the timeout line from the file.
10.5.1.2. Using your own splash image
You can also customize or replace the boot image to include your company logo or a personalized message.
Use the GIMP graphics editor to create a 640x480 image. Reduce the number of colors by using the GIMP menu option Image>Mode>Indexed and selecting 14 colors.
When converting an existing image to 14 colors, the result may look better if you select the No Dithering option, especially if the original image contains large areas of solid color. If you are creating a new image, select the indexed mode before you start drawing.
Save the image in the
Another way to generate a splash image is to convert an existing landscape-oriented digital photo or a desktop wallpaper file using the ImageMagick
# convert -resize 640x480 -colors 14
Finally, edit the splashimage line to point to your new creation:
splashimage=(hd0,1)/grub/new_splash.xpm.gz
An example of a modified splash image is shown in Figure 10-22 .
Figure 10-22. Modified splash image
10.5.1.3. Creating additional boot entries
Creating additional boot entries is simply a matter of entering additional lines with the options that you want.
For example, you could create two separate entries for Fedora Coreone for runlevel 5 (GUI) and one for runlevel 3 (text mode):
title Fedora Core
root (hd0,1)
kernel /vmlinuz-
initrd /initrd-
title Fedora Core
root (hd0,1)
kernel /vmlinuz-
initrd /initrd-
These two options are identical except for the descriptions on the title lines and the addition of the number 3 to the end of the kernel line for text-mode entry.
Installing a new kernel RPM will add an additional boot option and make it the default. If you are using
10.5.1.4. Installing GRUB's boot record from Fedora
Anaconda normally installs the GRUB boot record on the first disk drive automatically.
There are two situations where it may be necessary to manually install GRUB on an existing system:
? When you're using a RAID 1
? When your boot record is corrupted or overwritten by another program, such as an installer for another operating system, you may need to manually install the GRUB boot record again.
The easiest way to install GRUB is to use the
# grub-install --root-directory=
Installation finished. No error reported.
This is the contents of the device map /boot/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script Qgrub-install'.
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb
(hd2) /dev/hdc
(hd3) /dev/sdb
The --root-directory argument specifies the root directory for the boot files and should be used only if