VirtualBox

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

Screenshot 2025-04-08 at 23.28.16.png (187.2 KB ) - added by stephenr 16 months ago.
screenshot of EFI shell
debian12.log (81.9 KB ) - added by stephenr 16 months ago.
VBox.log

Download all attachments as: .zip

Change History (5)

by stephenr, 16 months ago

screenshot of EFI shell

by stephenr, 16 months ago

Attachment: debian12.log added

VBox.log

comment:1 by stephenr, 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 paulson, 12 months ago

Owner: set to paulson
Status: newaccepted

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 galitsyn, 11 months ago

Resolution: fixed
Status: acceptedclosed

Should be fixed in 7.2.0. Closing.

Note: See TracTickets for help on using tickets.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette