Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Possible Duplicate:
How do I set Windows to boot as the default in the boot loader?

How to set Windows 7 as default for booting? I am using Dual boot in my laptop. And how do i later shift to Ubuntu easily?

share|improve this question

marked as duplicate by Christopher Kyle Horton, fossfreedom May 18 '12 at 6:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 3 down vote accepted

Here are the steps to follow:

1- To edit the grub file open terminal and type the following command :

sudo gedit /etc/default/grub

You will got something like this :

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

Now to change the boot order, you need to change the GRUB_DEFAULT Entry, for example you have windows7 in the 3rd position and you want to set it as default, to do that set default to 3: GRUB_DEFAULT=3

2- Now update Grub using the command:

sudo update-grub

And is done!

share|improve this answer
And how do i shift to Ubuntu if needed ? Can i shift without rebooting? –  bebojoor May 16 '12 at 11:14
No. If you are in Windows you must reboot your computer and then choose Ubuntu to load. –  Octávio Filipe Gonçalves May 16 '12 at 11:17
oh k will try that. –  bebojoor May 16 '12 at 11:19
You must consider, to virtualize Windows in Linux (Ex. With Virtualbox), to avoid rebooting to run Windows when you want, without rebooting. –  Octávio Filipe Gonçalves May 16 '12 at 11:22
Ya but i have seen my friends facing problems with speed and performance constraints. I will be using both almost equally... one of the projects is totally on Ubuntu and heavy data files and otherwise all my data is on Windows. :) –  bebojoor May 16 '12 at 11:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.