Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to enlarge an installed (Windows XP) virtual disk partition?

I'm using vmware player (vmplayer) on ubuntu linux. If not, can vmware workstation, or -server do the job?

share|improve this question
up vote 3 down vote accepted

Yes it's possible. It's a two step process:

  1. Use vmware-vdiskmanager (I don't know if Player includes this executable, but WS, Server, and ESX all do). Run it without any command line arguments to see the various options, -x is the one for growing virtual disks, but you might want to make other changes as well. A simple commandline would like this: vmware-vdiskmanager -x 40GB WinXP.vmdk

  2. Once you have expanded the disk, you still need to expand the partition and the filesystem. I usually use sysrecuecd for this. Download the iso, setup your VM to boot from the CD, and then you can run gparted to expand both the partition and NTFS filesystem. It will take some time.

Of course, you should backup your virtual disk files before doing this in case anything goes wrong. But, I've both grown and shrunk NTFS formated vmdk files several times without a problem.

share|improve this answer
Specifically:… – David Mackintosh Jun 13 '09 at 0:31
Thanks, I'm going to try this out! – Roalt Jul 5 '09 at 8:00
The VM Player I am using now (v4) allows the extension of the virtual disk. After that you still have to pass by the 2nd step you said. Personaly I did use GParted Iso to expand my system partition (RedHat) – ruffp Apr 3 '12 at 21:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.