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.
- How to do partition in Ubuntu?
- After that how to install Windows 7?
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:
Note that here
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