I'm running Ubuntu 13.10 and would like to set up a dual boot configuration with Windows 7. How can I do this?
You would install window 7 normally. The thing is, windows installs its own boot loader instead of grub. Windows boot loader does not detect Ubuntu so you wouldn't be able to boot into it because you won't see it on startup.
To reinstall grub after you finish the windows installation, prepare an Ubuntu live USB, boot from it and and follow these instructions:
I guess that's all :)
Here's the general outline:
1.Make space for Windows 7
2.Install Windows 7
4.Mount the /boot partition
5.Install the boot loader
Open up GParted, and make sure that you have at least 20 GB available for Windows 7, either as a partition you can remove, or as unpartitioned space. If it's a partition, remove it from GRUB to make sure it doesn't break your Ubuntu install -- GParted will complain if anything bad is about to happen. Make note of current /boot device. If that doesn't show up there, make note of the / device. The device name is something like sda5.
Install Windows 7 into the space you just made
Load up from your Ubuntu live CD, and then run these commands.
If you DO NOT have a separate /boot partition:
Careful here, make sure YOU ARE USING THE LIVE CD. I tried,it works.
If you have a SEPARATE /boot partition:
Then continue with those commands:
NOTE THAT THERE IS NO DIGIT
And restart. It should work fine and boot both systems.