Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-10-2006, 06:52 AM   #1
Registered: Mar 2006
Location: Stockholm, Sweden
Distribution: FC10 x86_64, RHEL4/5 x86_64
Posts: 87

Rep: Reputation: 15
How do I change the default boot option in GRUB

Hello everyone,

I've just instelled FC 5 and while I'm tweaking around with it I'd like to keep windows XP the default boot otion in grub (now the default is FC).... now how do I change the grub.conf file to do that? I have both the ntfs partition and linux on the same drive and my grub.conf looks like this:


title Fedora Core (2.6.16-1.2080_FC5)
root (hd0,2)
kernel /vmlinuz-2.6.16-1.2080_FC5 ro root=/dev/VolGroup00/LogVol00
initrd /initrd-2.6.16-1.2080_FC5.img

title Windows XP
rootnoverify (hd0,0)
chainloader +1

It's not as easy as just changing their order, or setting default to "1" is it? I don't have the guts to case it doesn't work I won't be able to start anything.
Thanks a lot for any help,
Old 04-10-2006, 07:04 AM   #2
Registered: Apr 2006
Posts: 39

Rep: Reputation: 15
Change default=0 to default=1

I think that'll work.
Old 04-10-2006, 07:05 AM   #3
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Well no doubt you noticed the default line, at the moment it reads 0, which is the first boot entry (FC5) so changing that to 1 (the next entry, WINXP) should do it.

yes it is that easy
Old 04-10-2006, 07:05 AM   #4
Registered: Jan 2005
Distribution: FC (Planet CCRMA Kernel)
Posts: 81

Rep: Reputation: 15
yeah its that simple!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
change default OS to boot from grub bootloader. trempel Ubuntu 5 05-27-2005 09:20 PM
Change Default Boot from GRUB lel800 Red Hat 14 08-25-2004 02:32 AM
Grub: Change Default Boot Entry luwigie Linux - General 4 08-22-2004 03:17 PM
How do you change the default Boot-up OS in Grub? buckwheat12 Fedora 3 05-08-2004 04:24 PM
How to change default boot for Grub? nano_electronix Linux - Software 4 09-01-2003 08:46 AM

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration