FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.