Opened 16 months ago
Closed 11 months ago
#22370 closed defect (fixed)
OVF/OVA import results in a broken VM on Arm
| Reported by: | stephenr | Owned by: | paulson |
|---|---|---|---|
| Component: | OVF | Version: | VirtualBox-7.1.6 |
| Keywords: | arm | Cc: | |
| Guest type: | Linux | Host type: | Mac OS X |
Description
Importing an OVF/OVA format VM on Arm "succeeds" without error, but on boot the VM drops to an EFI shell and won't boot the installed OS.
The result is the same whether using the GUI Import Appliance, or the VBoxManage import command.
Attachments (2)
Change History (5)
by , 16 months ago
| Attachment: | Screenshot 2025-04-08 at 23.28.16.png added |
|---|
comment:1 by , 16 months ago
So it seems that this is related to how VirtualBox handles EFI booting.
Somehow the boot options work when the VM is created, but once it's exported and re-imported, those options are essentially lost/ignored.
Until this is resolved in VirtualBox, a workaround is to copy the appropriate distribution .efi (e.g. /boot/efi/EFI/debian/grubaa64.efi) file to /boot/efi/EFI/boot/bootaa64.efi.
I assume this also relates to the note in https://docs.oracle.com/en/virtualization/virtualbox/6.0/user/efi.html#efibootargs:
It is currently not possible to manipulate EFI variables from within a running guest.
comment:2 by , 12 months ago
| Owner: | set to |
|---|---|
| Status: | new → accepted |
The root cause of the lack of boot after importing the VM is that the VM's NVRAM file is not included in the exported appliance. On ARM-based hosts all VMs use UEFI for their firmware and thus have a <VM>.nvram which contains the UEFI firmware settings for the VM including the boot process details. The support for adding the <VM>.nvram file to an exported appliance and also extracting it when importing a VM has been added to the development branch of VirtualBox and will also be part of the next maintenance release of VirtualBox 7.1.x.
comment:3 by , 11 months ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Should be fixed in 7.2.0. Closing.


screenshot of EFI shell