PDA

View Full Version : [ubuntu] Dual Boot: Windows 7 and Ubuntu



magh-87
February 7th, 2012, 11:58 PM
Hey folks,

So I've recently come back to Ubuntu and I'm running the latest, 11.10. I have noticed that there's quite a bit of changes since the 9.04 I last used.

The biggest thing for me that I've noticed so far is that I am now having trouble selecting dual-boot options. It used to be as simple as editing menu.lst but from what I gather, that's no longer there (though I seem to have created that file.)

What is the correct method of setting up machine to dual boot W7 and Ubuntu? By default Ubuntu will load first, but I need that changed to W7 for my girlfriends convenience.

Good to be back

WariusBirde
February 8th, 2012, 12:17 AM
I'd just install W7 and then use the Windows Ubuntu installer for your gf's machine. http://www.ubuntu.com/download/ubuntu/windows-installer

Hope that helps!

oldfred
February 8th, 2012, 12:37 AM
If you have everything installed, you just need to edit a grub file.

Manual way:
The Grub 2 Guide - drs305 also link to grub customizer
http://ubuntuforums.org/showthread.php?t=1195275

Gui way:
HOWTO: Grub Customizer Updated for grub 1.99
http://www.ubuntugeek.com/grub-customizer-2-2-released-and-installation-instructions-included.html
http://ubuntuforums.org/showthread.php?t=1664134

efflandt
February 8th, 2012, 01:30 AM
One way to have grub default to whatever was booted last is to use sudo nano /etc/default/grub or gksu gedit /etc/default/grub and comment out the first line below with # prefix, and adding the following 2 lines:


#GRUB_DEFAULT=0
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=trueThen do sudo update-grub

magh-87
February 8th, 2012, 03:01 AM
One way to have grub default to whatever was booted last is to use sudo nano /etc/default/grub or gksu gedit /etc/default/grub and comment out the first line below with # prefix, and adding the following 2 lines:


#GRUB_DEFAULT=0
GRUB_DEFAULT=saved
GRUBSAVEDEFAULT=trueThen do sudo update-grub

What if I don't want it to boot what was loaded last and always boot Windows? I know how to boot into Ubuntu but she's not going to want to bother with selecting W7 in the selection list

magh-87
February 8th, 2012, 03:02 AM
If you have everything installed, you just need to edit a grub file.

Manual way:
The Grub 2 Guide - drs305 also link to grub customizer
http://ubuntuforums.org/showthread.php?t=1195275

Gui way:
HOWTO: Grub Customizer Updated for grub 1.99
http://www.ubuntugeek.com/grub-customizer-2-2-released-and-installation-instructions-included.html
http://ubuntuforums.org/showthread.php?t=1664134

So it's taken me a while to finally get this installed.. where do I go next to prioritize W7 over Ubuntu?

Mark Phelps
February 8th, 2012, 01:32 PM
I believe there's a menu option that says Preferences.

Click that and you will find a feature for setting the default boot. Select the entry that says something like Windows 7 (Loader) ...
Save the results.

When you reboot, Win7 will then be the default boot selection.