- Code: Select all Expand viewCollapse view
C:\Program Files\Oracle\VirtualBox>VBoxManage clonehd "G:\my.vdi" "E:\my_new.VMDK" --format VMDK --variant ESX
Progress state: VBOX_E_FILE_ERROR
VBoxManage.exe: error: Failed to clone hard disk. Error message: Could not create the clone medium 'E:\my_new.VMDK' (VERR_INVALID_PARAMETER)
However, if I remove the --format and --variant options the image clone process works. Of course my purpose for the export is to convert to the ESX format VMDK so that I can bring up the Guest on VMware vSphere to test in a production environment. The invalid parameter error suggests that either the --format or --ESX options are not valid when exporting from a VDI but I haven't found any documentation that says the combination is wrong. Perhaps it's a bug? Any help would be appreciated.