Jump to content

Recommended Posts

Posted
You want to partition the virtual hard drive or the host hardrive the VM is sitting on? If it's the virtual drive is it fixed size or expanding? Not sure that matters to much, but especially if it's an expanding, I wouldn't bother personally. Just create a new virtual hard drive and attach it to the VM as a second drive.
Posted
You want to partition the virtual hard drive or the host hardrive the VM is sitting on? If it's the virtual drive is it fixed size or expanding? Not sure that matters to much, but especially if it's an expanding, I wouldn't bother personally. Just create a new virtual hard drive and attach it to the VM as a second drive.

 

The virtual drive - I don't want to create another one because I don't want to waste the space on the host. Basically the VM is 100 Gig, I want to split this 50/50 or 60/40

Posted
You should be able to 'shrink' the volume in disk manager (Control Pannel, Administrative Tools, Computer Management) On the side pane there should be disk management. Right click the disk and shrink it.
  • Thanks 1
Posted

I think the issue you will have is the system drive. Windows can be abit funny trying to repartition that. I believe 08R2 and above can actually do it now using built in tools. Partition Magic would do it. Another favourite is to make a temporary copy of the VMDK (incase anything goes wrong) and use a Linux installer to shrink the existing Windows partition. Or a Clonezilla image to a smaller VMDK.

 

Personally I'd shrink the existing VMDK (VMadmin.co.uk - How to Resize a VMs Virtual Disk (.VMDK)) and then attach a second expanding VMDK for the new partition. This why I always using expaning images rather than fixed. The joys of virtualisation.

  • Thanks 1
Posted
Thanks all - I'll take a snapshot first and will then shrink it. If it goes belly up I should be able to revert back to the snapshot.
Posted
Don't know if using snapshots are wise in this instance, since you're messing with the files partitioning information. If you have got the hard drive space, just temporarily, take a full copy of the VMDK. Belts and braces.
Posted
If you boot to windows pe or the recovery bit of an install dvd you can then use the diskpart utility to shrink it really quickly and easily, stuff like parted usually requires a bunch of time and a full chkdsk to make sure it has not cooked anything. The only reason you can't do this in the gui is because it is the system and pagefile partition.
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...