PDA

View Full Version : grub chance default os



BehindTheTruth
30th April 2006, 11:32 AM
i want to change the default os booted with grub
my grub.conf in /boot/grub/ looks like this


# 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 (hd1,0)
# kernel /boot/vmlinuz-version ro root=/dev/hdb1
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=2
timeout=5
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.16-1.2096_FC5)
root (hd1,0)
kernel /boot/vmlinuz-2.6.16-1.2096_FC5 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.16-1.2096_FC5.img
title Fedora Core (2.6.16-1.2080_FC5)
root (hd1,0)
kernel /boot/vmlinuz-2.6.16-1.2080_FC5 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.16-1.2080_FC5.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1
what do i have to change if i want fc5 to be the default os

Saint Mike
30th April 2006, 11:37 AM
Change default=2 to "default=0"

BehindTheTruth
30th April 2006, 12:03 PM
thx
wasn't sure about it and didn't want to destroy my bootloader

Saint Mike
30th April 2006, 12:04 PM
;- )

It's pretty easy to fix things, you can use the rescue disk to fix anything