Home > VMWare, Windows > How to extend a partition on VMWare Virtual Machine that runs Windows

How to extend a partition on VMWare Virtual Machine that runs Windows

This can be done nice and easy using VMWare console. Here are the steps you would need to perform:

  1. Commit all existing snapshots for the target VM (see VMWare KB1006847)
  2. Turn off the VM
  3. Expand the VM’s VMDK file as follows:vmkfstools –X <new size> <path to vmdk file>
  4. Power on the VM
  5. Go into disk manager to confirm you’ve got additional space on your partition
  6. Go into command line and run DISKPART. There you will need to select your volume (do “list volume –> select <volume you need> –> extend –> exit”)
  7. Done!

The example above relates to non system volumes. If you want to extend the system volume you would need to use another Windows VM. Power off the target VM, expand its disk using vmkfstools, add it as a new disk to the helper VM, expand the Windows partition as described above, delete the disk from the helper VM, power on the target VM. Done!

Alternatively, you can use VMWare Converter, for instance, but it’s a much longer process and certainly much less elegant than the above procedure.

Advertisements
Categories: VMWare, Windows Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: