QuickTip: Changing the Default OS Selection for Ubuntu

   

On my other laptop I wanted the default selection to be Window$ XP instead of Ubuntu, since my father needs to use it. Changing the default order is a matter of changing one file menu.lst

sudo gedit /boot/menu.lst

Of course you would have to give your password. This would open a file which would look like this

...
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# 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
.......
.......
title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-19-generic... ... read more >>> vikashazrati.wordpress.com

None
A comma-separated list of terms describing this content. Example: funny, bungee jumping, "Company, Inc.".