Tuesday, 14 June 2011

Shrinking Vmware Workstation Disks on linux guests

This method describes doing it in Linux guest virtual machine, there is another method from host using vmware-vdiskmanager.

In the guest where you are trying to shrink, make sure VMware Tools is already installed.

To get vmware toolbox (which has many options including shrink)

run vmware-toolbox
ex: vmware-toolbox   
      or
/usr/bin/vmware-toolbox

run this command as root otherwise shrink option will not be enabled.

this will open a new window with shrink option, you can select the partitions you want to shrink and click on shrink.