Categories
grub How to's

How to set Default Operating System to boot IN GRUB

How to set default boot option in grub??
you have seen a large no of os kerenels whihc you can boot into in GRUB screen like below!!

linux-image2.6.18-486
linux-image2.6.18-686
linux-image2.6.24-486
linux-image2.6.24-686
linux-image2.6.34-666

to set the default OS kernel to be booted
open terminal login as root..
$su
enter root password
the use GEDIT or vi to edit the /boot/grub/menu.lst file…

#gedit /boot/grub/menu.lst

in the file search for line default 0

if you option is at 5th position in the menu list (.. then
change
default 0 to default 4 in the menu.lst file.

Now next time you will boot the default OS to boot will be the 5th one..!
cheers