Thursday, January 01, 2009

Modifying the Linux Grub boot loader's options

See here.

The following is an example grub.conf file

# grub.conf generated by anaconda
# Note that you do not have to rerun grub after
# making changes to this file
# NOTICE: You do not have a /boot partition.
# This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/sda3
# initrd /boot/initrd-version.img
# boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.9-85.fc8)
root (hd0,2)
kernel /boot/vmlinuz-2.6.23.9-85.fc8 ro root=LABEL=/ rhgb quiet acpi=off
initrd /boot/initrd-2.6.23.9-85.fc8.img
title Windows
rootnoverify (hd0,0)
chainloader +1

Comment "hiddenmenue" to see the menu directly.
"timeout" could be reserved to enable the automatic
boot option.

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home