Resizing a VMDK and using Windows XPE

elorc
elorc used Ask the Experts™
on
I have a VMDK file that I'm trying to attach to a VMware server. I don't know the details about the version it was created on, but apparently the disk was sized to 82 GB. I'm trying to decrease this, however, since that's larger than the remaining free space on the server I'm using. When I create a new VM and attach this VMDK as its hard drive, I can see the option to increase the size of the partition but I apparently can't decrease it.

The other question i had was with regard to what kind of OS I should configure it as in Ubuntu. At the moment I have it set to XP 32-bit, but is there a different setting that I should use for XPE?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2015
Commented:
The Way I would decrease the site would be to boot the VM using a disk-imaging tool like paragon's drive-image, and then use that tool to make a backup image of the virtual disk. When that is done create a new VM with a smaller HD, and restore the image you just made to that new VM. Provided the new image isn't smaller than the space used in the original Virtual Disk, this should work. I also usually set the disks of the VM's to add the space when it is required, this means that even if you assign 40GB to your VM's HD, the actual size used on the physical HD will at first be much less.

http://www.paragon-software.com/index.html
Top Expert 2010
Commented:
You can download Vmware vcenter converter that gives you the option during the wizard to decrease or increase disk sizes.

~coolsport00
Top Expert 2009

Commented:
Most probably you attach it as "system drive", you cannot extend sytem drive on the fly like vista/win2k8 so you need to attach that vmdk to a temp Windows VM and run "diskpart" http://support.microsoft.com/kb/300415

Author

Commented:
The vmware tool was the easiest solution, but rindi had a good point/suggestion as well. Thank you.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial