Jump to content
Sign in to follow this  
eggnog

Setting the default OS for GRUB boot

Recommended Posts

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

Share this post


Link to post
Share on other sites

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:

 

default=1

 

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

 

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

Share this post


Link to post
Share on other sites

Hi,

 

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

 

su -

 

Then enter your root password

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...