Change Default Boot Order for Grub in Ubuntu 10.10 Maverick Meerkat
Command-line Approach (see below for GUI approach)
Ubuntu 10.10 uses Grub 2 and with Grub 2, to change the default boot order you no longer edit grub.conf or menu.lst files located in /boot/grub folder. The file to be edited is now “grub” located in /etc/default/ folder, you can edit it by running the following command from terminal
sudo gedit /etc/default/grub
The contents would look like this:
If you change this file, run ‘update-grub’ afterwards to update
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
# Uncomment to disable graphical terminal (grub-pc only)
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo’
# Uncomment if you don’t want GRUB to pass “root=UUID=xxx” parameter to Linux
# Uncomment to disable generation of recovery mode menu entrys
To change the default boot option, you just need to change the GRUB_DEFAULT parameter. 0 is the first entry, so if you want Windows to be your default boot option which is, say at, 5th position in the grub menu, then you just need to change the GRUB_DEFAULT value to 4 and save the file and close it. If you want to change the Auto Boot preset time then you would need to change the value of GRUB_TIMEOUT parameter, it should be assigned a value in seconds and would determine the delay in seconds before grub boots the default choice, automatically. Now from the terminal run the following command
and your grub default boot order would be changed with the Windows as the default boot choice when you reboot.
GUI Approach (Thanks to Duane)
Just install the startup manager by using synaptic or running the following command
sudo apt-get install startupmanager
Now launch System > Administration > StartUp-Manager and you can change the boot order using graphical interface.
If you want to change the Grub2 theme or the background then see this post.