Recently I want to use Django for some development in Linux, so I started to install a Windows7 + Ubuntu11.10 Dual System for my home machine. I used a relatively fast method that does not require too much effort, but I have to repartition the entire hard disk. The hard drive of this machine is 1 Tb. My partition plan is as follows: Drive C, Windows system disk, 70 GB, primary partition, d disk in NTFS format, which stores general content, 800 GB, extended partition, NTFS format Swap partition, Ubuntu Swap partition, 2G (with my internal
Recently I want to use Django for some development in Linux, so I started to install a Windows 7 + Ubuntu 11.10 dual-system for my home machine.
I used a relatively fast method that does not require much effort,However, the entire hard disk must be repartitioned..
The hard drive of this machine is 1 Tb. My partition plan is as follows:
Drive C, Windows system disk, 70 GB, primary partition, NTFS format
D disk, stores general content, 800 GB, extended partition, NTFS format
Swap partition, Ubuntu Swap partition, 2 GB (same as my memory size), extended partition, Swap format
Root partition, Ubuntu system, about 40 GB, extended partition, Ext3 format
Prepare the following tools and start work
1. Download the CD images for Windows 7 and Ubuntu 11.10
2. Download the Universal USB Installer (used to make Linux LiveCD) See http://www.linuxidc.com/Linux/2011-01/31350.htm
3. Download Windows 7 USB/DVD Download Tool (used to make Windows 7 boot U disk, this Tool is not required) See http://www.linuxidc.com/Linux/2011-10/46290.htm
4. At least one large USB flash drive/mobile hard disk or other storage device that can be booted.
Preparations
Using the above two tools to write Windows and Ubuntu images into two USB flash drives, the process is quite easy and I will not introduce it.
* If there is only one USB flash drive, you have to install Windows and then create a boot disk for Ubuntu.
* If you do not have a tool, you can create a Windows 7 boot disk: you only need to copy all the files in the image to the USB flash drive/mobile hard drive.Root directoryIf the USB flash drive/mobile hard drive contains multiple partitions, you also need to set this partitionActive Partition.
Install Windows 7
Enable the Boot menu at Boot time and start from the USB flash drive. It is quite easy to install Windows 7.
During installation, delete all the original partitions of the hard disk and allocate only space to drive C. The remaining space is not allocated.
Create an extended partition
Go to Windows and startDiskpart, Requires administrator permissions.Be careful when using this tool.
> Select disk 0 # select disk
> Create partition extended # create an extended partition for the selected Disk