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

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?






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:




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


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




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


Forum Jump:

Users browsing this thread: 1 Guest(s)