How to increase the space of a virtual machine

vmware-workstation

I have created a Windows Vista VMware from an ISO Image. While creating I selected 16 GB as hard disk space. But now it's saying space is not enough for installing a service pack on that. How to increase the space of virtual machine now without recreating it?

Best Answer

This won't work if have or care about snapshots from the VM.

You can use vmware-vdiskmanager to expand the image size. You'll need to shutdown the virtual machine first.

Once you have the image resized, you can use your OS disk partition tool of choice to extend the partition on the disk to the new size. If the disk you want to resize is the system partition in Windows, which it sounds like it is, you'll probably need to mount the disk in another virtual machine to resize the actual partition, or boot off of a rescue disk.

Although the link to the vdiskmanager is from vmware server 1, I believe the same app comes with VMWare Workstation.