extending a virtual disk in vmware

Extending a virtual disk in vmware

1. Backup!

2. Somewhere in the vmware installation directory, there is a tool named "vmware-vdiskmanager.exe". There is a lot of options, for resize use "-x":

vmware-vdiskmanager.exe -x 8Gb ...path.to.vm..../vm_disk.vmdk

(hint: type the command manually, do not copy/paste from web. Otherwise you can get typographical spaces or minuses instead of the usual ones.)

3. The disk is extended, now it's time to update the partition table and the disk "C" to match the new size of the disk. Several options are availabe, they are listed in vmware's knowledge base:

VMware Virtual Disk Manager Does Not Expand Partitions
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1647

I tried GParted LiveCD and it worked:

GParted -- Live CD/USB/PXE/HD
http://gparted.sourceforge.net/livecd.php

GParted run automatically, I had no problems to use it.

4. When Windows started, it noticed that something strange had happended with the disk and executed "chkdsk". The tool validated that everything is in order, and Windows started as usual. With a bigger system disk.

Categories: windows

Updated: