LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to change default operating system boot-up (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-change-default-operating-system-boot-up-346727/)

malb 07-25-2005 07:19 PM

how to change default operating system boot-up
 
Hi

I've recently installed Fedora but I have to make Win XP my default as the rest of my family _still_ prefer Win XP....

The boot loader I'm using is GRUB. Could you tell me how to switch to Win XP for default operating system boot-up?

Thanks in advance.

65_289 07-25-2005 07:26 PM

Do what I did to my wife: remove XP from the boot loader. After 3 months, I put it back and she refuses to use Windows. :D

Or, as root, edit /boot/grub/menu.lst. Find the line that says "Default X" where X is probably 0 or 1. Whatever number XP is in the boot list, change the "Default" to be one less. If XP is 3rd on the boot menu, change it to "Default 2".

malb 07-25-2005 09:04 PM

Thanks heaps!

malb 07-26-2005 04:32 AM

Oops.. I tried to modify "menu.lst but I realized that mine is a bit different from what you said.

Here it is:
-------------------------------------------------------------------------
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4smp)
root (hd0,1)
kernel /vmlinuz-2.6.11-1.1369_FC4smp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4smp.img
title Fedora Core-up (2.6.11-1.1369_FC4)
root (hd0,1)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1
-------------------------------------------------------------------------
Which part should I change??

syg00 07-26-2005 05:01 AM

Quote:

Originally posted by malb
Oops.. I tried to modify "menu.lst but I realized that mine is a bit different from what you said.
Quite the contrary - seems 65_289 covered your situation almost exactly.
Count the "title" lines, starting at zero.
Comment out the "hiddenmenu" line (put a # in cloumn 1) - stupid idea IMHO. Don't know why Fedora (and others) do it.

dhirsolo 07-26-2005 01:22 PM

Just point to start menu->system settings->bootloader

in coming window just select your desired os and u will find it as default on next boot


btw i m using FC3 may be it will work on your version also if !FC3


All times are GMT -5. The time now is 12:03 PM.