Can I fix corrupted vmdk image? VERR_VD_VMDK_INVALID_HEADER

Solution 1:

Download the VDD kit from VMWare from here and run the following command: vmware-vdiskmanager -R <Path to vmdk file> This repaired my corrupt header which was caused by a power outage while the VM was running in Virtualbox.

Solution 2:

I had the same issue today. Solved it using vdiskmanager (Download link available in attachment section) and follow the instructions here.

Regards, HBK

Solution 3:

For repair corrupted.vhd file use %Program Files%\Oracle\VirtualBox\VBoxManage.exe internalcommands repairhd "corrupted.vhd"