LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   hot to change default os in Grub (https://www.linuxquestions.org/questions/linux-general-1/hot-to-change-default-os-in-grub-56914/)

jt1020 04-26-2003 05:30 PM

hot to change default os in Grub
 
I have two os on my system windows xp and red hat 9 and i'm using grub for dual boot, but red hat is the default. How can i change the default os that will be booted??

whansard 04-26-2003 06:04 PM

edit your /boot/grub.conf
where it says default=0 or whatever change it to a
different entry, then reinstall grub

jt1020 04-26-2003 06:17 PM

how do I edit my grub.conf??
and how do i reinstall grub??
thnx

MasterC 04-26-2003 06:27 PM

With a text editor of your choice, maybe gedit or kwrite if you are in X; vim if you are in a console.

Cool

UnTamed 04-26-2003 07:15 PM

Quote:

Originally posted by jt1020
and how do i reinstall grub??
thnx

You don't ...this is not LILO.
Grub will just read the new grub.conf next time you boot, ...s'all.

whansard 04-26-2003 08:29 PM

i don't know crap about grub. i ought to use it for a month
so i can tell people how to use it.

jt1020 04-26-2003 11:52 PM

ok thnx for d info UnTamed and MasterC I already did it. Problem solved! :)


All times are GMT -5. The time now is 10:17 AM.