IT Secure Net - All about computer Tweak and Security

  • About Me
  • Linux sysadmin command 101
  • News
  • Categories
    • Linux
    • Voip
    • Nagios
    • Virtual Box
    • AsteriskNow
    • VM Ware
    • Freepbx
    • WordPress
    • Windows
  • Contact

VirtualBox OVA to Vsphere OVF

As, I was installing my FreePBX server with Asterisk. I decided to move the installed virtual machine on Virtualbox to VMware Esxi Server. So, it will be running non-stop. It took me lot of time and research to accomplish this task. Even it seem fairly easy. That’s why, I would like share with you guys.

How to convert VirtualBox OVA to Vsphere OVF

I am running my vm machine Esixi server 5.0 and Virtualbox  4.2.6

I moving Debian Virtual Machine.

Tool need to complete this tasks :

1. Vware OVF Tool : http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/ovf (It is FREE to download but you need have a VMware account )

2. Microsoft Checksum Verify utility :  http://support.microsoft.com/kb/841290 (Need to check SHA1)

3. Text editor Notepad or any other tools : I prepare Notepad++

 

First of all, export your virtual machine from Virtualbox. Give the location for the file and save as ova file

VirtualBox Ova Export

After, Install the VMware OVF Tool. I am using the version 3.0.1

Once, the file has been created and the tool is installed.

Open the command line and navigate to the OVF tool folder.

Type the command below : ovftool.exe –lax <source.ova>  <destination.ovf> Do not forget the option –lax

You can conslut the guide for this tool at : http://www.vmware.com/support/developer/ovf/ovf301/ovftool-301-userguide.pdf

ovftool.exe –lax “C:\Users\ygotame\Desktop\Asterix Now.ova” “C:\Users\ygotame\Desktop\Asterix Now.ovf”

OVF Tool Export

Once the command is complete, you will see three files :

1. Asterix Now.mf  SHA1 Info File

2. Asterix Now.ovf   Configuration file

3. Asterix Now-disk.vmdk   Virtual Hard drive

Now open, Vsphere client and click to deploy ovf file.

vSphere OVF Deploy

Give the OVF file location and try to upload to the server.

You might this error : Unsupported hardware family virtualbox-2.2

Error: OVF Package is not supported by target:
 Line 25: Unsupported hardware family 'virtualbox-2.2'.

vSphere OVF Deploy Family 2.2 Error
Note : The image is in French

If it is the case for you, open the ovf file with your favorite text editor.

And, change the line :

<vssd:VirtualSystemType>virtualbox-2.2</vssd:VirtualSystemType>

with this

<vssd:VirtualSystemType>vmx-07</vssd:VirtualSystemType>  

To avoid the error message : Line 66: OVF hardware element ‘ResourceType’ with instance ID ‘5’: No support for the virtual hardware device type ’20’

In the same file, modify the item Instance 5:

<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 this

<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>

Save the change and try again to deploy

At this time, you will get the error saying the file fail the control of integrity and could be corrupted. As the vpshere sever check the <file>.mf to verify the integrity. We will modify that to make sure the correct information is enter.

Integrity Error Vsphere

For that, download the Microsoft toll that I mention above and extract the file where you prepare. I will dump it at C:\Temp

Now, we need to find out new SHA1 key for <file>.ovf because we made some change.  Therefore, open command line and navigate to the place where you had extracted the Microsoft tool.

Execute the command : fciv.exe -sha1 <filename.ovf>

fciv.exe C:\Users\ygotame\Desktop\ItSecure\OVF file new SHA1.png

OVF file new SHA1

Now, copy the new SHA1 key 51bd98… and open <filename>.mf

Paste the new value in the file and save it.

Modify SHA1 Key

 

Once that has been done,  try one more time to deploy the vm machine. This time, it should be working without any issue.

Deploy Finish Step

That’s all for now folks.

If you have any other issue or need more information. Leave a comment below. I will be happy to assist you.

Disclaimer: All work shared in this post is property of IT Secure Net

Jan 13, 2013IT Secure
wine: Install the Windows version of Mono to run .NET executables BootMGR Missing or NTLDR Missing Windows multiple Hard drive
Comments: 62
  1. Sai
    March 5, 2017 at 11:29 pm

    I am still facing the same issue

    Fails integrity check and might have been corrupted during transfer

    Could you please assit?

    ReplyCancel
    • IT Secure
      March 14, 2017 at 2:22 am

      Hello,

      Could you please provide the error that you are getting.
      If you have corrupted file, you might want to try again the transfer to make sure that it is not damage.

      ReplyCancel
  2. Saeid
    February 15, 2017 at 6:35 am

    tanx a lot
    I do
    I wish you is good every day

    ReplyCancel
  3. Lokesh
    December 17, 2016 at 12:28 pm

    Thanks , Its working like a charm.......

    ReplyCancel
  4. Beatriz
    November 4, 2016 at 8:00 am

    Ha sido muy útil el tutorial, solucionó todos los problemas pero al terminar la instalación, se queda en deploying OVF Template . LLevo esperando más de una hora y no creo que vaya a finalizar. La ovf corresponde a un Ubuntu 16.4. ¿Alguna idea de por qué puede ser esto?

    Muchas gracias, un saludo

    ReplyCancel
  5. chainaz
    June 9, 2016 at 7:14 am

    es possible sur une machine crée avec vmware workstation ? je rencontre le méme probléme ! mrc .

    ReplyCancel
  6. Manda Albert
    May 15, 2016 at 2:34 am

    Valuable analysis , I learned a lot from the facts . Does anyone know where my business can grab a fillable WI I-017i form to complete ?

    ReplyCancel
  7. Brandon
    May 5, 2016 at 5:00 pm

    Thank You very Much!

    ReplyCancel
  8. Neil
    March 18, 2016 at 4:14 am

    Still works like a charm today. Thanks for a very helpful post!

    ReplyCancel
  9. Mike Gonzalez
    March 17, 2016 at 4:52 pm

    Thank you! I'm glad I found this article! Thank you for posting such a very useful process!

    ReplyCancel
  10. Jinu
    January 31, 2016 at 10:54 pm

    You are save me!!

    Thank You

    -From Korea-

    ReplyCancel
  11. Bruno Rosa
    January 13, 2016 at 12:40 pm

    Just what I needed! Thanks indeed!

    ReplyCancel
  12. Net100ml
    December 18, 2015 at 1:01 am

    Excellent Work!

    ReplyCancel
  13. Dairo
    October 1, 2015 at 8:07 am

    thank you very much this procedure works perfect for me after several searches this one works thank you thank you at all

    ReplyCancel
  14. dabs
    September 14, 2015 at 5:10 am

    Thank you!

    ReplyCancel
  15. Abhishek Jalan
    August 13, 2015 at 5:58 am

    instead of using these steps, better you can convert that ova/ovf file from the vmware standalone convertor and then try to deploy. hope it it will work. I also faced the same issue earlier.

    ReplyCancel
  16. Ruchy
    July 6, 2015 at 12:35 am

    Thank you so much. It save my life a lot.

    ReplyCancel
  17. ChandBShaik
    April 25, 2015 at 12:19 pm

    Here is how I imported a Oracle VirtualBox Virtual Machine to ESXi 5.x
    http://www.virtualbrigade.com/2015/04/import-virtual-machine-running-in.html

    ReplyCancel
  18. Salman
    April 8, 2015 at 11:04 am

    Thank you very much - awesome post.

    ReplyCancel
  19. francesco
    March 25, 2015 at 4:09 am

    ottimo manuale.
    grazie.

    ReplyCancel
  20. Miguel Ángel
    February 13, 2015 at 6:17 am

    Enhorabuena. Funciona correctamente. Ok, congratulations

    ReplyCancel
  21. Simon Haslam
    February 10, 2015 at 6:41 am

    Thanks very much for documenting this process!
    Note: these instructions also work for OVF Tool 4.0.0 running on Windows 8.1 64-bit (I didn't need the --lax option), and type vmx-08 for a vSphere 5.5.0 target.

    Simon

    ReplyCancel
  22. JV
    December 22, 2014 at 1:55 am

    Hey man this is awesome.
    You indeed save me alot of time.
    thank you so much and more power to you

    ReplyCancel
  23. Carlos
    December 4, 2014 at 8:06 am

    Using VirtualBox version 4.3... i can export to .ovf (v1.0) mitigating the need to use the conversion tool (takes that step out of the above process)
    I also got another message regarding another device that could not be loaded (can't remember it now) which i simply removed the XML out completely and was able to successfully import the VM :)

    ReplyCancel
  24. Karen
    November 20, 2014 at 11:58 am

    Very helpful information. I wish I found this article a year ago. Thanks.

    ReplyCancel
  25. Saleh Havid
    October 2, 2014 at 10:55 am

    Hi thanks for great sharing

    After following this tutorial now my esxi can run vm from vbox ova image. I also found little shortcut. No need to change the check sum in mf file, just delete it then deploy ovf image to vsphere and it's worked!.

    Thanks
    Saleh Havid

    ReplyCancel
  26. Flo Sers
    September 29, 2014 at 7:17 am

    thank you very much!

    ReplyCancel
  27. rs442
    September 23, 2014 at 8:41 am

    I have followed these instructions but when I try to start the VM I get a message about No Operating System. It appears that the VM is booting from the network instead of the virtual disks. Any ideas would be most appreciated. Thanks, Richard

    ReplyCancel
    • IT Secure
      September 25, 2014 at 9:55 am

      Just make sure that the hard drive is active and also you can change the boot priority by doing ESC during the startup
      One more thing, try to remove the network card and see what happen
      Hope that will help

      Good luck

      ReplyCancel
  28. Eric Chatham
    September 18, 2014 at 11:45 pm

    Hey man, excellent walkthrough. This helped me out so much. Thanks for the resource, keep it up. I figured there was a way to edit the Virtual machine hardware type. This answered my question.

    Thanks again,

    echatham@tempecomp.com

    ReplyCancel
  29. ronalwin
    July 3, 2014 at 12:08 am

    Thank you, it is works very well and now I am able to convert from vbox to vmware.

    ReplyCancel
  30. Muzzafar Jahnagir
    June 13, 2014 at 5:22 am

    Amazing..... 100 Successful Result :) Thanks

    ReplyCancel
  31. zaev
    June 3, 2014 at 4:55 am

    Nice one - was immensely useful for me.
    Thanks!

    ReplyCancel
  32. Jarek
    June 1, 2014 at 10:26 am

    Great tutorial!

    ESXI sometimes gives an error for ResourceType.
    Open the .ovf file in notepad to edit and check if the resource is a sound card. If so remove it and run the checksum tool to edit the .mf file and upload to the ESXI server.

    Regards,
    Jarek.

    ReplyCancel
  33. David Todd
    May 6, 2014 at 5:34 am

    Awesome guide. Thanks very much.

    ReplyCancel
  34. Dale
    April 23, 2014 at 6:11 pm

    Thanks for the guide! One issue I found is that the x64 version of ovftool.exe will not accept the --lax (or --help for that matter)
    Switching to the x86 version worked fine.

    ReplyCancel
  35. Markus
    April 16, 2014 at 11:56 am

    Amazing info! You're grand :-) Merci!

    Though I had to delete the Ensoniq soundcard from the OVF as well, but no prob with your guide - knowing how the things work it becomes easy.

    Thank you!

    ReplyCancel
  36. yusuf
    March 29, 2014 at 6:44 am

    thanks for all. I got error deploying
    windows2008_64 not supported on the selected host. :s

    ReplyCancel
  37. Martin Och
    March 18, 2014 at 5:08 pm

    It is not necessary to play with .mf file. Just delete it.

    ReplyCancel
  38. MK
    January 28, 2014 at 10:21 pm

    Amazing help ... this is really great, thanks a million ... thank you!!!

    ReplyCancel
    • IT Secure
      January 28, 2014 at 10:34 pm

      You are welcome !

      ReplyCancel
  39. IT Secure
    January 14, 2014 at 10:07 pm

    I will try my best to help because since long time I stop doing the migration as work on VSphere only.

    1- Make sure if you have enough space on your datastore
    2- verify the block size

    If that does not work, please provide us more information / logs as you can

    Thank's

    ReplyCancel
  40. Vegas IT
    January 14, 2014 at 6:00 pm

    After using the above instructions my OVF file starts to import but then comes back with an error about capacity of the uploaded disk is larger then requested, has anyone seen this before?

    ReplyCancel
  41. Heath
    December 17, 2013 at 12:48 pm

    For those getting "No Support for the virtual hardware type “35″"

    I got this on a .ova I was deploying and looking through the .ovf file after using ovftool I found that item was referring to a sound card so I just removed that item section.

    Also, in regards to the step of finding the new hash value, I have had good luck just deleting the .mf file altogether and vSphere seems to be perfectly happy to deploy it that way.

    ReplyCancel
    • IT Secure
      December 17, 2013 at 2:24 pm

      Thank's for sharing

      ReplyCancel
    • neopod
      February 27, 2015 at 10:51 pm

      Wow thanks for that! I was debating deleting that but was erring on the side of caution not to since they seemed to go in order. Deleting that item worked like a charm, as did removing the .mf file (renamed it .bak for safety's sake). This was my last error preventing import. Thanks!

      ReplyCancel
  42. eshizhan
    September 23, 2013 at 1:01 pm

    I write a little script do this:

    https://gist.github.com/eshizhan/6650285

    ReplyCancel
  43. Endaryanto
    September 16, 2013 at 11:46 pm

    Hai,

    I Have an error

    line 92, OVF Hardware Element "Resources Type" with Instance ID 8, No Support for the virtual hardware type "35"

    ReplyCancel
  44. Phil
    July 25, 2013 at 11:19 am

    the tag Item to Item ovf:required="false"

    ReplyCancel
  45. Phil
    July 25, 2013 at 11:17 am

    Very good tutorial.
    I got an error for the sound card section. I solve it by changing the tag to

    ReplyCancel
  46. Josielson Souza
    June 21, 2013 at 10:17 pm

    Excelente dica! Funfou direitinho aqui na minha máquina! Muito obrigado e parabéns!!

    ReplyCancel
  47. joe hobson
    June 9, 2013 at 3:48 pm

    Thanks so much for your help, this worked perfectly for me.

    For those using a Mac, you can get the sha1 value by using shasum in the Terminal: shasum

    ReplyCancel
  48. Onkar
    May 28, 2013 at 6:43 am

    Getting error while opening .ova file using ovf tool

    C:\Program Files\VMware\VMware OVF Tool>ovftool.exe -lax "E:\Prasad\ova\DevBox.ova" "E:\omkar\DevBox.ovf";
    Error: Unexpected option: E:\omkar\DevBox.ovf;
    Completed with errors

    ReplyCancel
    • IT Secure
      May 28, 2013 at 9:30 am

      Hello Onkar,
      It should put --lax (double dash) not -lax.
      Try that and let me know if it's works.

      ReplyCancel
      • Onkar
        May 28, 2013 at 10:24 am

        Thanx for Reply...
        Issues is already resolved.
        Then another issue came like
        OS RedHat-64 is not supported by host.
        Now i just skipped this warning and trying to deploy continue.

        ReplyCancel
        • onkar
          December 4, 2013 at 2:48 am

          now the error showing like
          Detials:Line 92: OVF hardware element 'ResourceType' with instance ID '8': No support for the virtual hardware device type '35'

          Can you help me to solve this

          ReplyCancel
          • IT Secure
            December 17, 2013 at 2:30 pm

            As I do not have the source of my files and I am no more using Virtulbox, it will be hard to help you.
            Seem like hardware compatible issue
            One suggestion : Before creating an ovf file, try to remove all hardware that you do not need : floppy disk, sound, printer, anything else...

            If you really need those hardware, you can add it after the migration.

            Good luck and sorry for the delay.
            A+

            ReplyCancel
        • Dol
          July 31, 2014 at 2:27 pm

          i have same issue , did you fix it, i nee to know how

          ReplyCancel
  49. Yeonki
    May 28, 2013 at 4:39 am

    Hi,
    Thanks you for sharing this.
    I did well when exporting ova from vmware, Howerver, I had problem in case of converting from virtualbox to vmware after finished work.
    By following your post, it worked perfectly.

    Thank you again.
    Regards,
    Yeonki

    ReplyCancel
  50. frgtech
    April 24, 2013 at 1:31 pm

    Great! That works very well.

    In my case, I had an error about the OS Redhat specified by ID : 79 when I tried to load the ovf :

    So I replaced the following XML line :

    by this one :

    And everything works.

    Thanks for this usefull post!

    ReplyCancel
    • IT Secure
      April 24, 2013 at 11:53 pm

      Glad to know that it helps you.
      Thank for the info

      ReplyCancel
    • Dino
      November 2, 2013 at 9:20 pm

      Hi, I got the same error too! but unfortunately the xml line you specified doesn't show in your comment. Can you please put again the xml line and the replacement line? Thank you :)
      -been having days of trouble converting virtualbox to vmware (tried every possible way of converting), but this seems the closest one to work if not for the OS RedHat error.

      ReplyCancel
Pingbacks: 6
  1. Esxi loading virtual box image | My search
    December 20, 2015 at 11:47 pm
  2. virtualbox迁移至vcenter/vmware workstation – 80后
    November 14, 2015 at 10:37 pm
  3. An Expriment: Exporting from Virtualbox on OSX and Importing into VMWare ESX | Damian's Personal Blog
    August 13, 2015 at 7:00 pm
  4. OSSEC-VM 2.8.1 install on ESX5.1i Failed | Michael Ellerbeck
    May 6, 2015 at 11:10 am
  5. VirtualBox OVA To Vsphere OVF | Higbot Technoloblog
    March 19, 2014 at 3:24 pm
  6. Pinchii's Blog » Running the Citrix License Server Virtual Appliance in Vmware
    July 12, 2013 at 9:38 am

Leave a Reply to ChandBShaik Cancel reply

IT Secure
January 13, 2013 68 Comments AsteriskNow, Freepbx, Linux, Virtual Box, VM Ware, Voip, Windowscapacity of the uploaded disk is larger then requested, instance id error 5 vsphere, Line 66: OVF hardware element 'ResourceType' with instance ID '5': No support for the virtual hardware device type '2 0'., Linux vpshere, virtubox ova to vpshere ovf, vpshere ovf import, Windows virtualbox
EnglishFrançaisDeutschItalianoPortuguêsRomânăEspañol
Recent Posts
  • Install FreePbx on Centos 7
  • Configure WordPress with NGINX
  • VT-x is being used by another hypervisor (VERR_VMX_IN_VMX_ROOT_MODE)
  • Putty numeric keypad not working with vim
  • How do I list my RSA key fingerprint SSH
Donate never asked but always appreciated
Support Team Viewer
Accès à distance et Télé-assistance sur Internet grâce à TeamViewer Support IT Secure Net
RSS National Vulnerability Database
  • CVE-2019-19317
  • CVE-2019-19602
  • CVE-2019-19601
  • CVE-2019-19589
  • CVE-2019-19597
  • CVE-2019-19598
  • CVE-2019-19596
  • CVE-2019-19590
  • CVE-2019-19553
  • CVE-2019-19588
Recent Comments
  • IT Secure on VirtualBox OVA to Vsphere OVF
  • Sai on VirtualBox OVA to Vsphere OVF
  • Saeid on VirtualBox OVA to Vsphere OVF
  • Lokesh on VirtualBox OVA to Vsphere OVF
Categories
  • Apple
  • AsteriskNow
  • Backtrack
  • Centos
  • Debian
  • Freepbx
  • Kali
  • Linux
  • Nagios
  • Network
  • News
  • Nginx
  • Ubuntu
  • Uncategorized
  • Unix
  • Virtual Box
  • VM Ware
  • Voip
  • Web
  • Windows
  • Wordpress

Your Name (required)

Your Email (required)

Subject

Your Message

2014 © IT Secure Net
Domain for sale : Contact-us