I just expanded a basic disk on a Windows XP VM from 15gb to 40 gb using GPARTED LiveCD (0.5.2-11). I didn't notice anything unusual during the expansion; but after I rebooted back into Windows, the disk capacity doesn't match the disk size as it should (only 1 volume on the disk). The disk shows as 40gb; but the C: volume still shows the original size.
I've tried expanding the disk again with GPARTED (no change), and using VMware converter and have it adjust the size of the volume during the process (complains about a lack of space of snapshot error inside the os). The volume has 27% free space so I don't think it is a space issue.
Chkdsk doesn't seem to find anything wrong either. The OS seems to run just fine, it doesn't see the additional space however.
Any ideas?
You may need to use diskpart to tell XP to grow the filesystem. This KB article goes through the process.
I believe (G)parted only expands a limited selection of filesystems: FAT, ext2/3. It has probably successfully increased the size of the container (partition) but the NTFS is still only 15GB. If you were to run the Windows disk administrator it'll probably confirm that: a 15GB volume in a 40GB partition.
You can use the Linux ntfsprogs, specifically ntfsresize . These (command-line) tools are on the Gparted LiveCD (per http://sourceforge.net/projects/gparted/files/gparted-live-stable/0.5.2-9/packages-0.5.2-9.txt/download ). I think Gparted is supposed to call ntfsresize automatically, so it's probably worth booting it again and checking what happens when you run ntfsresize manually. Otherwise, if your virtual machine host is Linux (a 'proper' distribution, not VMware's "Service Console") you have the option of accessing the VM disk (with partx if you need it, and while the guest is shut down) and running ntfsresize from the host.