Wednesday, September 6, 2017

Failed to import appliance in VMBOX

I have converted vmx to ovf using vmware ovf tool, but when I import it in virtualbox it throws error: Failed to import appliance

The solution for this error is fixed using the below steps


VMware to Virtualbox Migration After updating my Fedora Kernel , VMware Workstation 12 stopped working. This moment I thought to switch back to Virtualbox as it has support for latest Kernels. There are pretty some good documentation on how to migrate from VMware to Virutalbox format
You can find a good document on Migration Here . In Summary the steps are Power off your guest which you are migrating Open command promt as an Adminstrator and Navigate to C:\Program Files (x86)\VMware\VMware Player\OVFTool Run ovftool
eg: ovftool "C:\Users\diaryfolio\Virtual Machines\Windows 7 x64\Windows 7 x64.vmx" C:\Users\diaryfolio\Win7Export.ovf
This would take about 15mins . So please be patient Once complete Import into your Virtualbox using "Import Appliance"
Errors that might occur
Error: "Failed to open disk” - This normally happens when the Guest VM is not properly shutdown or stopped Error while importing to Virtualbox
Failed to import applianceHost resource of type "Other Storage Device (20)" is supported with SATA AHCI controllers only, line 47. Result Code: VBOX_E_FILE_ERROR (0x80BB0004) Component: Appliance Interface: Appliance {xxxxxxx-4add-4474-5bc3-xxxxxxxx}
The quickest solution is to open it with any text/xml editor, and
  1. replace word “ElementName” with word “Caption” in the whole file.
  2. replace “vmware.sata.ahci” with “AHCI”
  3. Then change SHA accordingly       (optional)

[root@diaryfolio Win10 x64]# sha1sum "Win10 x64.ovf"
0baac9938935a10b254e8cc18fc47fa3242168bb Win10 x64.ovf

No comments:

Post a Comment