Original Works. reposted for the source! And keep the hyperlink!
The latest version has been worrying about the problem that the compilation code of ubuntu virtual machines installed on Vmware causes the increasing size of virtual hard disk files. Therefore, I decided to abandon the pure virtual machine Installation Method for Ubuntu and change it to direct physical hard disk installation, that is, Windows XP + ubuntu11.04 dual system.
First, make sure that you have installed Windows XP first. If you have installed Ubuntu before Windows, grub will be flushed and you will have to re-build grub.
The next step is ubuntu11.04. Here are some special notes.
First, partition Ubuntu: The principle is as follows: if you already have a primary partition on your hard disk (this primary partition is generally a Windows system disk, that is, a C disk ), the extended partitions to which the primary partition belongs are d, e, f ..... several logical partitions. Note that a hard disk can have only four primary partitions. Generally, the Windows system disk and its extended partitions are both primary partitions. For Ubuntu systems, the Windows system disk is sda1, the extended partition is sda2, and the D disk is counted from sda5. there is a problem here. the Ubuntu partition cannot have a logical disk larger than sda16, that is, it can only be a logical disk sda5 ~ Sda16. If there are too many logical partitions on the hard disk that cannot meet the requirements for Ubuntu installation, you can only re-create a primary partition on the idle hard disk as the Ubuntu installation partition.
My partitions are as follows:
Drive C --------- NTFS ----- primary Partition
D disk ~ M Disk ----- NTFS ----- logical partition,
"/" ----------- Ext4 ------- logical partition, mounted to the "/" Directory of ubuntu
Swap ------- swap ----- logical partition, the swap zone of ubuntu
"/Home" --- ext4 -------- logical partition, mounted to the "/home" Directory of ubuntu
The last logical partition is sda16, which does not exceed the limit.
Second, it should be noted that if you want to delete the partitions under Ubuntu, it is best to use the Ubuntu system disk to uninstall the Ubuntu system. Do not delete them directly in the disk management tool in windows. Otherwise, all your partitions will disappear !!!!
I already know about it! Fortunately, ftdd3.5 was used to find the partition in windows. Otherwise, the loss would be immeasurable!
After the installation is complete, you can choose to directly enter the Ubuntu system after the computer is started into the grub option. Of course, the project is half done. The result I want is, to start Ubuntu installed on the hard disk Through vmware in Windows, it seems incredible, but VMWare does.
Use vmware7.1.4 to manually create a virtual machine. When creating a virtual hard disk, select the physical partition method to create and point to the partition where the mounted "/" directory is located.
After the VM is created, two virtual hard disks are created in the physical partition mode again in the editing properties, corresponding to the partition where SWAp and "/home" are located.
OK!
Start the new virtual machine directly. After a little longer, you can access the interface!
Keywords:
Install Ubuntu 11.04 on the VMware physical partition and use VMware to start ubuntu11.04 installed on the physical hard disk.