Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How do I install Windows 7 alongside a pre-existing Ubuntu installation?
Resizing my linux partition

I want to partiton my hard drive so I can dualboot Windows 7. I already installed Ubuntu as my only OS. I tried GParted from the software center but I can't unmount the main Ubuntu partition. Help please?

share|improve this question

marked as duplicate by James Henstridge, Jorge Castro, izx, jokerdino, Eliah Kagan Aug 14 '12 at 21:45

This question was marked as an exact duplicate of an existing question.

If you want to resize your Ubuntu partition with GParted, you cannot run GParted from the installed Ubuntu system.

Therefore, you should use a live Ubuntu CD or USB key to boot into it and then resize your partition and make a new one for windows. Theres is a guide here: Resizing my linux partition

You will probably have to use the live Ubuntu to fix the bootloader after installing Windows: Recovering Ubuntu After Installing Windows

share|improve this answer

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