Can not export / import virtual appliance

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
Hesteban
Posts: 1
Joined: 8. Nov 2024, 11:58

Can not export / import virtual appliance

Post by Hesteban »

Hi there,

Please excuse my dummy question if the subject has already been covered; I'm pretty sure it hasn't...

I am using a MacBook Pro with Apple Silicon M3 Max under macOS Sonoma 14.3 and the last version of VirtualBox: 7.1.

It seems I can not export my virtual machines to ova files.

Using the graphical interface it gives:
virtualbox.jpg
virtualbox.jpg (117.59 KiB) Viewed 3481 times
Using the command line:

Code: Select all

/Applications/VirtualBox.app/Contents/MacOS/VBoxManage export "SAE15 Debian 11 64bits" -o /tmp/toto.ova
VBoxManage: error: Code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not available)
VBoxManage: error: Context: "ExportTo(pAppliance, Bstr(pszAbsFilePath).raw(), pVSD.asOutParam())" at line 1867 of file VBoxManageAppliance.cpp
I am also using VMware Fusion [Player 13.6.0 (24238079)], and was able to do:

Code: Select all

/Applications/VMware\ Fusion.app/Contents/Library/VMware\ OVF\ Tool/ovftool --X:logLevel=verbose --exportFlags=extraconfig --allowExtraConfig --addDevice:vtpm /Users/huot/Virtual\ Machines.localized/SAE15\ Debian11\ 64bits\ ARM.vmwarevm/SAE15\ Debian11\ 64bits\ ARM.vmx ~/Downloads/toto.ovf
cd  ~/Downloads/toto
tar cvf  ../toto.ova *
and then trying to import it from the graphical interface:
import.jpg
import.jpg (143.71 KiB) Viewed 3481 times
I also tried:

Code: Select all

/Applications/VirtualBox.app/Contents/MacOS/VBoxManage import ~/Download/toto/toto.ovf --dry-run
and obtain the following (in the GUI):

Code: Select all

Échec de l'ouverture de session pour la machine virtuelle vm.

Callee RC:VBOX_E_PLATFORM_ARCH_NOT_SUPPORTED (0x80bb0012)
Is there anyone who has the same issue? Do you have an idea to solve it?

Thx
b800h
Posts: 1
Joined: 23. Nov 2024, 13:22

Re: Can not export / import virtual appliance

Post by b800h »

Yes, I've got exactly the same issue on an M1 Macbook Air.

Precisely the same error message, with the same line numbers.

VBoxManage: error: Code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not available)
VBoxManage: error: Context: "ExportTo(pAppliance, Bstr(pszAbsFilePath).raw(), pVSD.asOutParam())" at line 1867 of file VBoxManageAppliance.cpp
klaus
Oracle Corporation
Posts: 1653
Joined: 10. May 2007, 14:57

Re: Can not export / import virtual appliance

Post by klaus »

Suspect that's a bug which crept in specifically for ARM VMs, sabotaging things.
multiOS
Volunteer
Posts: 1315
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, BSD
Location: United Kingdom

Re: Can not export / import virtual appliance

Post by multiOS »

AFAIK (and per the VMware guidance I've seen) the OVA/OVF format is only supported on x86_64 hardware, not ARM64/aarch64; so VirtualBox on ARM shouldn't really be presenting any option to either export or import OVA.
klaus
Oracle Corporation
Posts: 1653
Joined: 10. May 2007, 14:57

Re: Can not export / import virtual appliance

Post by klaus »

In the VirtualBox case the export/import functionality is meant to work - but I assume due to a white spot on the testing side (we have testcases - but for x86_64 only so far) it's broken in more or less subtle ways.
Post Reply