Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting the default OS for GRUB boot
#1

I just installed suse 10.1

 

i already had xp installed

 

so now when i start up i get the grub boot loader with an option for both operating systems

 

currently i get about 10 seconds before it boots suse by default? how can i get it to boot xp as default?

 

thanks

Reply
#2

Hi,

 

You will need to edit the menu.lst file which is located in the /boot/grub/ directory when you open the file you should see:

 



Code:
default=1




 

Change the 1 to your selection of OS. In the menu.lst file you will have entries like:

 



Code:
title Memtest86+ (1.65)
    root (hd0,0)
    kernel /memtest86+-1.65 ro root=/dev/VolGroup00/LogVol01 rhgb quiet
title Fedora Core (2.6.16-1.2122_FC5)
    root (hd0,0)
    kernel /vmlinuz-2.6.16-1.2122_FC5 ro root=/dev/VolGroup00/LogVol01 rhgb quiet
    initrd /initrd-2.6.16-1.2122_FC5.img




 

Notice how my default was set to 1 thats because the first entry starts from 0 so if I wanted my default to boot the Memtest86+ I would set the default to 0.

 

Hope this helps

Reply
#3

i can't open my menu.lst file in the first place...

 

it says permission denied

 

=(

 

i don't know how to get it open

Reply
#4

Hi,

 

You will have to become the super user root to become super user root you will need to type:

 



Code:
su -




 

Then enter your root password

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)