Many people install Virtual machine Linux, in order to save hard disk space, the hard drive capacity set smaller, but later found that the hard disk capacity is not enough. In VMware can not directly modify the virtual machine hard disk capacity size, or rebuild the virtual machine system, very cumbersome.
In fact, under the VMware6.0 installation directory there is a command-line tool--vmware-vdiskmanager.exe program that can be used to modify the size of the virtual machine hard disk. The method is as follows:
1, shut down the virtual electromechanical source; Start the command prompt interface under Windows;
2, through the CD command into the VMware installation directory (such as: d:/vmwarews-v6.0), enter "Vmware-vdiskmanager" and press ENTER, you can display instructions on the command.
3. Execute the following order:
Vmware-vdiskmanager-x L2GB D:/UBUNTUDESK/UBUNTU.VMDK
The parameter-X indicates that you want to extend the virtual machine hard disk space, followed by the size that you want to expand (such as 12Gb, the total amount of disk, including the original disk capacity), and finally the specific file of the virtual machine Linux to operate.
Note If there are spaces in the path name, you must enclose them in double quotes.
After execution, exit the Command Prompt window and reboot VMware, the virtual machine hard disk space has become 12GB.
Use Pqmagic to adjust the C-disk partition.