How to repair an OVA appliance with an invalid shared folder

This is for discussing general topics about how to use VirtualBox.
Post Reply
steve11235
Posts: 1
Joined: 24. Sep 2011, 03:01
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Win 7 Oracle Linux

How to repair an OVA appliance with an invalid shared folder

Post by steve11235 »

This is a quick recapitulation of another post, and there is an existing bug report. I simply want to briefly share the solution.

If an appliance is exported with shared folder path definitions that are not compatible between host OS, such as Windows and Linux, an attempt to import the appliance fails:

Failed to import appliance, shared folder path ... is not absolute

To correct the problem:
  • Use the tar command (or 7-Zip) to expand the OVA file (the OVA is just a TAR containing the OVF and virtual disk files)
  • Use a text editor to open the the OVF file and remove any problematic shared folder entries (the OVF is an XML document)
  • Import the appliance using the modified OVF
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: How to repair an OVA appliance with an invalid shared fo

Post by Technologov »

I think it works with v4.1.6
Pollocks01
Posts: 1
Joined: 23. May 2013, 20:38

Re: How to repair an OVA appliance with an invalid shared fo

Post by Pollocks01 »

I used approach as a workaround when VirtualBox encountered a checksum issue when importing an OVA file. Can't remember the exact error message but it included the terms "checksum" and "tar". I'm using VirtualBox 4.2.6

...so, THANKS!
Post Reply