Disk2Vhd and VirtualDisk.OpenDisk

Oct 28, 2009 at 1:51 PM


I tried to open a vhd disk, created with Disk2Vhd (Sysinternals), but I get no valid vhd footer found.
Has Microsoft changed something at the vhd layout?

Here is a link to the Disk2Vhd tool: http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx

Ciao Ephraim

Oct 29, 2009 at 9:41 PM

Thanks for flagging this Ephraim.  The VHDs created by Disk2Vhd aren't strictly meeting the VHD specification, sadly.  I've checked in a change to DiscUtils that means it will work with the VHDs Disk2Vhd generates.  I have posted an updated version of the 0.7 preview release with this change in it.



Oct 30, 2009 at 7:42 AM

Thanks for your fast reaction and all the work you do!
ciao Ephraim

Nov 14, 2009 at 4:08 PM

Quick update - I've just checked the VHDs created by the latest version of Disk2Vhd (v1.3), they no longer have this issue.

I'll leave the compatibility changes in DiscUtils though, because they're mostly harmless.