Skip to content

Convert Virtualbox OVA to VMware OVF

  • by

Steps on how to convert a virtualbox OVA to VMware OVF

References :
https://jekil.sexy/blog/2015/this-ovf-package-requires-unsupported-hardware.html

  1. Download and install the OVF tool :
    https://developer.vmware.com/web/tool/ovf/
  2. open powershell and cd into the ovftool folder
    cd "C:\Program Files\VMware\VMware OVF Tool"
  3. use the below commands to convert from SHA1 to SHA256

ovftool.exe –shaAlgorithm=SHA256 /path/to/ova_file.ova /path/to/new/ova_file-SHA256.ova

  1. use the below commands to convert to a LAX OVF file so the OVF file can be edited

.\ovftool.exe --lax source.ova destination.ovf

  1. Edit the OVF file and change :
<vssd:VirtualSystemType>virtualbox-2.2</vssd:VirtualSystemType>

with:

<vssd:VirtualSystemType>vmx-07</vssd:VirtualSystemType>
  1. Change the SATA controller to SCSI like this :
<Item>
<rasd:Address>0</rasd:Address>
<rasd:Caption>sataController0</rasd:Caption>
<rasd:Description>SATA Controller</rasd:Description>
<rasd:ElementName>sataController0</rasd:ElementName>
<rasd:InstanceID>5</rasd:InstanceID>
<rasd:ResourceSubType>AHCI</rasd:ResourceSubType>
<rasd:ResourceType>20</rasd:ResourceType>
</Item>

with :

<Item>
<rasd:Address>0</rasd:Address>
<rasd:Caption>SCSIController</rasd:Caption>
<rasd:Description>SCSI Controller</rasd:Description>
<rasd:ElementName>SCSIController</rasd:ElementName>
<rasd:InstanceID>5</rasd:InstanceID>
<rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
<rasd:ResourceType>6</rasd:ResourceType>
</Item>
  1. Optionally remove the IDE & USB controllers to keep the VM clean.
  2. Try importing into vcenter or direct to the esxi machine.
Tags:

Join the conversation

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.