If you using the new Windows 7 and having fun with the new native VHD mounting and booting and the new Virtual PC, it wont be long before you’ll be looking for some utilities to make things easier for you. I’ve found a couple of tools to help me create and manage all the the VHD’s I’ve been experimenting with over the past few weeks.
Make a VHD image from an existing hard drive image.
Sysinternals has introduced a tool (Disk2Vhd) to convert you existing pc image to a VHD.
Expand the size of a VHD
vmToolkit has a great tool VhdResizer for increasing the size of a fixed VHD. It requires creating a second VHD (so save some space) and then it copies the files over sector by sector. I just used it on a Vista VPC image and it worked great. Don’t forget to expand your partition after using this tool. This tool only expands the VHD and not the partition found within the VHD. Once expanded I used the Vista’s Disk Management (via the Computer Management control panel) to expand it to the fill size of the VHD.
Convert from VMWare Disks for use with Virtual PC
vmToolkit also has another great tool, VMDK2VHD, to allow you to convert from VMWare's VMDK format to the Virtual PC’s VHD format. I haven’t tried this yet but looks like a promising tool.
Several of these tools have been around a while, but I’ve not found a consolidated list of these so hopefully this post will help you as it has me. As I discover more of these tools I’ll try and keep this post updated.
Enjoy!
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.