VMware Cloud Community
fgfuentes
Contributor
Contributor

Virtualbox VM Migration to vCenter7

Is there an update procedure to successfully migrate a Virtualbox 7.0 Windows 10 virtual machine to vCenter 7? 

After a lot of workarounds I was finally able to have the vCenter import it but it won't boot due to file corruption.

I tried this procedure after a lot of digging:

1. First none of the .ova versions hashing is compatible with vCenter (SHA512):

OVA version

Hashing algorithm

OVA 0.9

SHA-1

OVA 1.0

MD5

OVA 2.0

SHA-256

 

2. I was able to convert the .ova file to .ovf SHA512 using ovftool.

This generates a .ovf, .vmdk & .mf files

3. Then i edited the .ovf file to change the record "vssd:VirtualSystemType" from "virtualbox-2.2" to "vmx-07" & the disk item info to:

<Item>

        <rasd:Address>0</rasd:Address>

        <rasd:Caption>SCSIController</rasd:Caption>

        <rasd:Description>SCSI Controller</rasd:Description>

        <rasd:ElementName>SCSIController</rasd:ElementName>

        <rasd:InstanceID>3</rasd:InstanceID>

        <rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>

        <rasd:ResourceType>6</rasd:ResourceType>

</Item>

4. Since the .ovf file information is modified, it is require to calculate a new hash using the certutil command

5. Then modify the .mf file and correct the hash result.

6. Then I went into vCenter & selected the option "Deploy OVF Template", following all instructions and importing the 3 files (.ovf, .vmdk & .mf)

7. The VM was successfully  imported but it gave it got stuck on a blue screen on boot.

Reply
0 Kudos
2 Replies
maksym007
Expert
Expert

Try vCenter Converter. But I am guessing now if it will work

Reply
0 Kudos
MerlevedeN
Enthusiast
Enthusiast

Hi,

Maybe the following posts can help you

Export the vm from virtualbox: https://kb.vmware.com/s/article/2053864

import the ova into vCenter: https://docs.vmware.com/en/VMware-Workstation-Pro/16.0/com.vmware.ws.using.doc/GUID-8AADBDF8-7369-45...

 

Reply
0 Kudos