If you're having a tripple boot as of the moment, you should edit your /boot/grub/menu.lst file and change the boot order from there.
Follow the guide below:
Open /boot/grub/menu.lst for editing (Terminal):
Code:
gksudo gedit /boot/grub/menu.lst
Find this line and change the default value to point to the value of your desired kernel.
Code:
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
Sample values using my current menu.lst file will be:
Code:
## ## End Default Options ##
title Ubuntu 7.10, kernel 2.6.22-15-generic <----- 0
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-15-generic root=UUID=16d722ac-565b-4d2d-9c6e-317b1ac253ff ro quiet splash
initrd /boot/initrd.img-2.6.22-15-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-15-generic (recovery mode) <----- 1
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-15-generic root=UUID=16d722ac-565b-4d2d-9c6e-317b1ac253ff ro single
initrd /boot/initrd.img-2.6.22-15-generic
title Ubuntu 7.10, kernel 2.6.22-14-generic <----- 2
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=16d722ac-565b-4d2d-9c6e-317b1ac253ff ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode) <----- 3
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=16d722ac-565b-4d2d-9c6e-317b1ac253ff ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+ <----- 4
root (hd0,2)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
If I want to boot on "Ubuntu 7.10, kernel 2.6.22-14-generic" as default, I would change the value of default to 2 instead of 0.
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 2
After you had changed it, Save and close. And while on your terminal, reboot.
Code:
sudo shutdown -r now
Bookmarks