
7
Boot Loader Information
Grub Grub is an acronym for Grand Unified Bootloader.
An excellent overview of Grub and how to use it is located at
http://sdb.suse.de/en/sdb/html/fhassel_grub_overview.html
For now, here is some general information on the configuration file,
grub.conf:
Edit the file /etc/grub.conf to add/remove menu items, and adjust the default.
The default is indicated by the line default x, where x is the number of the
title you want to boot, beginning with 0 (zero). Get it? Didn’t think so.
How about this explanation then?
The following example shows the structure of the menu file /etc/grub.conf.
In this example, /dev/hda5 is the Linux boot partition, /dev/hda7 is the root
partition, and /dev/hda1 contains a Windows operating system.
gfxmenu (hd0,4)/message
color white/green black/light-gray
default 0
timeout 8
title linux
kernel (hd0,4)/vmlinuz root=/dev/hda7 vga=791
initrd (hd0,4)/initrd
title windows
root (hd0,0)
makeactive
chainloader +1
title floppy
root (fd0)
chainloader +1
title failsafe
kernel (hd0,4)/vmlinuz.shipped root=/dev/hda7 ide=nodma
apm=off acpi=off vga=normal nosmp maxcpus=0 3
initrd (hd0,4)/initrd.shipped
The entries have the following meaning:
• As you can easily guess, the first two lines cover the configuration of
the splash menu: the background image is located in /dev/hda5 and
has the name "message". Foreground: white, background: green,
selection: black, background of the selection: light gray.
• The entry "default 0" in the third line indicates that the first menu
entry ("title linux") is the default selection for booting.
• Line 4: The timeout is 8 seconds.
Commentaires sur ces manuels