How to Increase the Hard-disk Size for the Existing VMWare Hard Disk (VMDK)

It’s pretty straightforward really, just use the following command:

vmware-vdiskmanager -x sizeGB name-of-your-vmware-image.vmdk

for instance, if you wish to increase the capacity of the hard-disk to 20GB:

vmware-vdiskmanager -x 20GB WinXPProSP3.vmdk

Then you should see something similar to the followings:

The old geometry C/H/S of the disk is: 1910/255/63
The new geometry C/H/S of the disk is: 2610/255/63
Disk expansion completed successfully.

WARNING: If the virtual disk is partitioned, you must use a third-party
utility in the virtual machine to expand the size of the
partitions. For more information, see:
http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1647

If you start the VMWare again and choose the same VMWare image, the hard-disk size of the chosen image will have increased. To see the newly created space/partition inside the Windows, click on Control Panel > Performance and Maintenance > Administrative Tools > Computer Management. Then click on Disk Management under the Storage section from the left. The new unformatted partition should be there. However, in order to merge the new space with existing one, you need to use 3rd-party partitioning tools such as EASEUS Partition Manager Home Edition (free) or Partition Magic (commercial).

That’s it, it’s that simple!!

Leave a Reply