I hit a wall with a VPC Virtual Hard Disk (VHD) where apparently it had expanded as far as it was going to. I am not sure why a Dynamic disk would not continue to expand dynamically, but it hit 20 GB and that was it.
So, there were several options that were proposed, including ghosting the old VHD to a new VHD, as well as just adding a new "data" VHD.
In the end, the one I liked best came from my good friend Todd Sussman.
It was quick, painless and worked like a charm...
- Backup (copy) your VHD file
- Download and install VHDResize (google it). Run it on the host, point to the VHD and select the appropriate size (i.e. 30 GB)
- It will take a while, but once complete, re-mount the VHD to your VMC and boot into the Guest hosting the resized VHD.
- Install a parition management tool such as Partition Magic or Partition Manager, which will detect the available space that is unallocated and allow you to extend it.
That's it.
If anyone would like to educate me on the difference between "Dynamic" and "Fixed" disks in Virtual PC 2007, or have an even simpler suggestion than the one above, please feel free to comment.