Jump to content

grub.conf

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
Well ive had fedora / xp dual booting for a while now, but fedora is set as the primary boot OS. Basically when I start up my computer it displays a menu with a count down that says "Press any key to continue..." so I press any key which brings up another menu that lists Fedora and Windows XP. If I dont press any key to continue it will automatically boot up in linu, I would like to reverse that being that Linux isnt my primary OS and I like to start up my computer and walk away because it takes 10 minutes :/

Anyway here is my grub.conf
# grub.conf generated by anaconda

#

# Note that you do not have to rerun grub after making changes to this file

# NOTICE:  You have a /boot partition.  This means that

#          all kernel and initrd paths are relative to /boot/, eg.

#          root (hd0,1)

#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00

#          initrd /initrd-version.img

#boot=/dev/sda

default=0

timeout=5

splashimage=(hd0,1)/grub/splash.xpm.gz

hiddenmenu

title Fedora Core (2.6.15-1.2054_FC5smp)

	root (hd0,1)

	kernel /vmlinuz-2.6.15-1.2054_FC5smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet

	initrd /initrd-2.6.15-1.2054_FC5smp.img

title Windows XP

	rootnoverify (hd0,0)

	chainloader +1


Do I accomplish this by just reversing the titles or do I have to edit something else?
# grub.conf generated by anaconda

#

# Note that you do not have to rerun grub after making changes to this file

# NOTICE:  You have a /boot partition.  This means that

#          all kernel and initrd paths are relative to /boot/, eg.

#          root (hd0,1)

#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00

#          initrd /initrd-version.img

#boot=/dev/sda

default=0

timeout=5

splashimage=(hd0,1)/grub/splash.xpm.gz

hiddenmenu

title Windows XP

	rootnoverify (hd0,0)

	chainloader +1

title Fedora Core (2.6.15-1.2054_FC5smp)

	root (hd0,1)

	kernel /vmlinuz-2.6.15-1.2054_FC5smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet

	initrd /initrd-2.6.15-1.2054_FC5smp.img


Also as I mentioned there are two menus, the first which does nothing, other than require me to press another button, do I get rid of that by removing this?
splashimage=(hd0,1)/grub/splash.xpm.gz

hiddenmenu


#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
That looks correct but it has been so long since I messed with the grub.conf file I have no idea. I say give it a try and see if it works.