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 installed 12.04 from Pendrive. Now I want to partition my 500GB HDD in the following order: 50GB for the Ubuntu OS, 70GB for Windows 7, remaining for data storage.

  1. How to do partition in Ubuntu?
  2. After that how to install Windows 7?
share|improve this question

2 Answers 2

You can use gParted to partition your harddrives.

To make a new partition, first shrink an existing partition (if you don't have enough unallocated space). The remaining space would be turned into unallocated space. Then you can make a new partition in that space.

Here is the tutorial for gparted: http://www.addictivetips.com/ubuntu-linux-tips/use-gparted-to-manage-your-disk-partitions-in-ubuntu-linux/

After that, you can normally install your Windows. But you won't be able to boot back into Ubuntu as the GRUB, needed to boot Ubuntu, would be replaced by the boot loader of Windows.

You would need a Live USB/CD/DVD of Ubuntu. After installing Windows, boot with any Live media. Open up a terminal and run the following commands:

sudo grub-install /dev/sda
sudo update-grub

Note that here /dev/sda is the name of the harddisk. To check the name of your harddisk run sudo fdisk -l. You'll see several names like /dev/sda1, /dev/sda2, etc. These are the names of the partitions, but /dev/sda is the name of the disk.

share|improve this answer
    
Edited the answer. Thanks! –  green7 Aug 22 '12 at 16:20

i think, the best solution for you is using of Acronis Disk Director Suite (google it). You need a blank CD for burning this suite. You will get a bootable CD with all tools that you need

share|improve this answer

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.