Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a 12.04 LTS system running on my PC with a 320 GB hard drive.

Unfortunately, I need to use Windows 7 in my lab. I tried doing this using a virtual machine (VirtualBox and VMware) but it was not good enough. I want to make a partition on my hard drive so when the computer starts I'll choose between Windows 7 and 12.04.

I tried using Gparted, but for some reason I'm not getting the Resize/Move option.

There must be a way that I can do this without formatting and installing everything again.

share|improve this question

1 Answer 1

To be able to resize/move partitions, the partitions must not be in use.

Boot from a liveCD or liveUSB, make sure no partition is mounted then launch Gparted and create the necessary partition.

After installing Windows you'll have to recreate Grub. The easiest way is to boot again from the live USB, install boot-repair with sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update followed by sudo apt-get install -y boot-repair && boot-repair and do a recommended repair.

share|improve this answer
    
still doesnt work, it only resizes the partition by 48 mb which is not enough to install win7 –  Nick Bailuc Jun 26 at 23:01
    
Can you edit your question with the result of sudo fdisk -l? –  To Do Jun 27 at 7:50
    

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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