Increase virtual machine Linux hard disk space with Vmware-vdiskmanager __linux

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.