How to change the ubuntu boot order

Posted on November 18, 2008

This guide will give you the instruction to change your ubuntu order.

The way is to modify your /boot/grub/menu.lst to set which os should be boot by default.

For example ,you have 4 entries in your menu.lst

title		Ubuntu 8.10, kernel 2.6.27-7-generic
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=90834bc0-4167-40e8-936d
-1628b2cd21bf ro quiet splash
initrd		/boot/initrd.img-2.6.27-7-generic
quiet
 
title		Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=90834bc0-4167-40e8-936d
-1628b2cd21bf ro  single
initrd		/boot/initrd.img-2.6.27-7-generic
 
title		Ubuntu 8.10, kernel 2.6.24-19-generic
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=90834bc0-4167-40e8-936
d-1628b2cd21bf ro quiet splash
initrd		/boot/initrd.img-2.6.24-19-generic
quiet
 
title		Microsoft Windows XP Professional
root		(hd0,0)
savedefault
makeactive
chainloader	+1

You can set the default entry to set which os will be boot by default . Numbering starts from 0, and
the entry number 0 is the default if the command is not used.
Eg.if you want to boot Windows Xp by default,you only need to set the “default” entry to 3.

default		                   3

Popularity: 5% [?]

» Filed Under Linux

Comments

Leave a Reply