[Boot Windows first] I have installed Ubuntu along side Win7 and wish to change the default OS that will boot

Asked by John Hughes

Ubuntu 10.10 boots as the default OS upon start up. I wish to change the default to win7. Where do I find the parm and make the change in the boot loader?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
Wayne Rodrigues
Solved:
Last query:
Last reply:
Revision history for this message
Ubfan (ubfan1) said :
#1

The file /etc/default/grub has a line starting "GRUB_DEFAULT" which selects which OS is booted by default.
It's probably 0 now. Change it to a higher number to select a different OS. See info grub for other options like "saved".

Revision history for this message
Best Wayne Rodrigues (waynerod10) said :
#2

Ubfan seems to be correct (I haven't looked into it that much, so we may be wrong).

However, if you feel thats a bit too hard, you can try using the latest version of EasyBCD (http://neosmart.net/dl.php?id=1) and then changing the boot preferences. Hope that helps.

Plz do not blame me if your comp gets stuffed up... I'm only sincerely trying to help.

Revision history for this message
John Hughes (bossjh) said :
#3

This makes sense and I believe it will work. Thanks

Revision history for this message
delance (olivier-delance) said :
#4

Another solution is, in folder /etc/grub, to rename file 40 to 15, and run command sudo update-grub

Revision history for this message
ZipOne (2-fast-4-u) said :
#5

Windows 7 64 bit is installed then downloaded ubuntu 10. I want ubuntu to load as the default os how can i do this?
I used wubi to install ubuntu. Can anyone help me with this?

<email address hidden>

Revision history for this message
delance (olivier-delance) said :
#6

This solution was given for install side by side, not wubi.
I don't know if it will work.
Open a new question, but link it to project "wubi" and not packet "grub2".