DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Can a VM OVA be converted to a VHD?  (Read 16,309 times)

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,652
    • Cody Award
    • Participated in NANY Challenge Five Times
Can a VM OVA be converted to a VHD?
« on: March 18, 2014, 05:05 PM »
Greetings
    Much as this sounds like a simple question...it apparently isn't. I'm trying to demo a "Virtual Appliance" (made by major manufacturer that won't be named) that is delivered - exclusively... - as an Open Virtualization Format Archive (OVA) file. Now MS has a utility that will happily convert a VMDK file to a VHD, but it won't touch an OVA file ... And best I can tell neither will anything else that I've found so far.

    The OVA file is an archive that contains an Open Virtualization Format (OVF) file that is a native export of (I think it was) the Citrix XenServer. However the free Citrix converter wont touch this thing, and nor will the free VMware converter.

    Now while just asking the major manufacturer's sales guy what I'm supposed to do with this thing normally makes sense...said sales guy hasn't yet responded to any of my requests - which started Friday - for said interaction. Did I mention that "The Brass" at both ends happen to really like said manufacturer...so switching to someone with better phone skills ain't an option.

  So... Here I am hoping someone here has had occasion to run into this predicament and recalls a solution to either convert directly from OVA to VHD/VHDX, or at the very least just extract the OVF from the OVA so I can (bank shot) convert that a few times into something that might actually boot when I load this thing and click start in the Hyper-V Manager.

Thank you,

Stoic Joker

   

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: Can a VM OVA be converted to a VHD?
« Reply #1 on: March 18, 2014, 05:25 PM »
An OVA is nothing more than a renamed TAR file.  You should be able to extract the OVF (and usually the VMDK) by opening it something like 7-Zip.

Screenshot 2014-03-18 12.22.35.png
« Last Edit: March 18, 2014, 07:05 PM by skwire »

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,652
    • Cody Award
    • Participated in NANY Challenge Five Times
Re: Can a VM OVA be converted to a VHD?
« Reply #2 on: March 18, 2014, 06:40 PM »
Yes stumbled across that little detail right after posting the question. Although from what I read it's a .tar file *Shrug* Either way after changing the file extension WinRAR popped it open with no problem. I found the VMDK file inside and the MS Virtual Machine Converter Solution I'd found initially is converting it now.

Don't know if the &%#^$ thing will boot afterwards ... But it looks like I'll get to try. :D

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: Can a VM OVA be converted to a VHD?
« Reply #3 on: March 18, 2014, 07:19 PM »
Yes, it is a TAR file and I'm glad you were able to extract it.  All the VMDKs I've extracted from OVAs have worked fine.

As an aside, if you're working in a *nix or OpenStack environments (with KVM), you might come across JVA files.  You can typically extract those by doing the following:

bash my-jva-file.jva -x

Obviously, you would specify whatever JVA filename you're dealing with.
« Last Edit: March 18, 2014, 07:24 PM by skwire »

Original address: https://www.donationcoder.com/forum/index.php?topic=37551.0