Ubuntu 10.04 Boot Sequence

Just installed Ubuntu 10.04 Lucid Lynx (a Linux Operating System) – but want to default boot into Windows (or your alternate OS)?

Many people struggle to change the boot sequence on this version of Ubuntu, because this version uses Grub 2 – a newer version of the Grub boot loader.

Okay, technical details aside, it’s really easy to change the boot sequence.

This is what you need to do:

1. When the bootup menu pops up asking which operating system you would like to boot into, note the position of the Windows option (e.g. on my computer, it is on the 5th position).
2. Let the default Linux operating system log in (this would happen automatically
2. Once you enter your Ubuntu username and password (if you have set a password), and come to welcome screen, go to

Applications > Accesories > Terminal

3. In the terminal, key in this magic formula (this will lead you to the file you need to modify):

sudo gedit /boot/grub/grub.cfg

(You may be prompted to enter a password for permission to change this file. Enter your regular login password)

4. Look for the line which reads as follows:

set default=”0″

5. Change the “0” to the position of your Windows login
(Since the list is numbered starting 0, subtract 1 from the position of Windows login. E.g. Since my Windows login is on position #5, I would set this to:
“4”
)

6. Press the save button (or Ctrl-S)

7. Restart your computer, and you should be good to go!

Hope you find this helpful!

blog comments powered by Disqus