Page 1 of 1

Failed on formatting VHD from VMDK

Posted: 15. Jun 2016, 08:57
by Berb Iji II
Hi,

I'm trying to convert a vmdk file to vhd, using

Code: Select all

vboxmanage clonehd --format vhd
command, but I gut this error:

Code: Select all

0%...10%...20%...30%...40%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage.exe: error: Failed to clone medium
VBoxManage.exe: error: Could not create the clone medium 'E:\Temp\2\upd1-disk1.vhd' (VERR_ZIP_ERROR)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCloneMedium(struct HandlerArg *)" at line 896 of file VBoxManageDisk.cpp
Can someone please help?
Thanks!

Re: Failed on formatting VHD from VMDK

Posted: 15. Jun 2016, 10:42
by mpack
ZIP error? I have no idea what that could mean in this context.

You didn't show me the actual command you typed, so it's impossible to know if the syntax is correct.

Why do you want VHD format anyway? It is inferior to both VDI and VMDK, VDI being the preferred format in VirtualBox.

----

Oh wait, did this VMDK come from an OVA/OVF package? If yes then (a) it's compressed, and (b) it's a corrupted download. Download it again and verify using an MD5 sum. The normal way to unpack an OVA/OVF is using File|Import, but if for some reason you don't want to do that then I suggest cloning to VDI format, never VHD.