Ubuntu: Selecting the OS that is booted by default in GRUB Boot Manager

On a PC which has Ubuntu installed you initially see the GRUB boot manager. To edit the default behaviour (i.e. which OS is booted without interaction) you must edit the menu.lst file


sudo gedit /boot/grub/menu.lst

Look for

Find this section of the file:


## default num
[...]
default 0

The value “0” boots the OS which is at the top of the list.

If you already had Windows on the system before installing Ubuntu and you want to boot Windows by default you will need to change that number to “4” then save and reboot your machine. You should go into Windows instead of Ubuntu automatically.

via Set Windows as Default OS when Dual Booting Ubuntu :: the How-To Geek

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: