LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-05-2005, 12:26 PM   #1
lmcilwain
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora, Ubuntu, Centos, FreeBSD
Posts: 390

Rep: Reputation: 31
Change boot order in grub.conf file


Hello all,

Can anyone tell me how I can change the boot order in my grub.conf file so that I can boot of my linux OS vs my windows OS. I originally wanted my windows OS to be the default because I could quickly fall back on it while I was using FC4. Since FC4 has stablized I want to be able to boot off that without having to manually select it.

Vice versa if I decide I want to run windows for a while (HEAVEN FORBID) I would wnat to be able to change the boot order again.

I looked in my grub.conf file and I can see how the OS' are listed but I can't tell what makes one a default and what doesn't. In lilo I can look at the top of the list and specify the OS name that corresponds to the list below for the default, grub doesn't have anything like that that I can see.
Well besides a "boot=/dev/hda" that is commented out at the top fo the list but I can't imagine thats it.

Any help is appreciated.
 
Old 08-05-2005, 02:02 PM   #2
bushidozen
Member
 
Registered: Oct 2004
Posts: 215

Rep: Reputation: 30
I got this from another forum:


Quote:
Edit /boot/grub/grub.conf (or, equivalently, /etc/grub.conf). There's
a line in it

default=<some number>

If the number is 0, the default corresponds to the first in the series of
titles in grub.conf. If it's 1, the default corresponds to the second.
And so on.
 
Old 08-05-2005, 02:16 PM   #3
lmcilwain
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora, Ubuntu, Centos, FreeBSD
Posts: 390

Original Poster
Rep: Reputation: 31
That worked like a charm, I was looking for something more complicated then that. Thanks for the help.
 
Old 07-12-2006, 12:33 AM   #4
kkfung
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
Cool Grub default

The first entry is your default. To change the boot default, cut and paste the desired boot OS to be the first entry. It works for me for Ubuntu distribution, but should be the same for other distributions.
Have a good day!

Quote:
Originally Posted by lmcilwain
Hello all,

Can anyone tell me how I can change the boot order in my grub.conf file so that I can boot of my linux OS vs my windows OS. I originally wanted my windows OS to be the default because I could quickly fall back on it while I was using FC4. Since FC4 has stablized I want to be able to boot off that without having to manually select it.

Vice versa if I decide I want to run windows for a while (HEAVEN FORBID) I would wnat to be able to change the boot order again.

I looked in my grub.conf file and I can see how the OS' are listed but I can't tell what makes one a default and what doesn't. In lilo I can look at the top of the list and specify the OS name that corresponds to the list below for the default, grub doesn't have anything like that that I can see.
Well besides a "boot=/dev/hda" that is commented out at the top fo the list but I can't imagine thats it.

Any help is appreciated.
 
  


Reply



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
grub question changing boot order making windows boot first nfsutim Linux - Newbie 29 10-27-2012 12:53 PM
how to configur grub.conf file for dual boot? den-den Linux - General 2 08-23-2005 02:49 PM
Change the boot order in grub buster_balz Linux - Newbie 2 12-23-2004 11:41 AM
how to change boot order Boomba Linux - Newbie 2 01-23-2004 07:33 AM
Change boot order? panicboy Linux - Software 6 01-21-2004 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:46 PM.

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