Sadly removing the space didn’t help, get the same issue.
These are the files in /usr/share/edk2/aarach64/
-rw-r--r--. 1 root root 2.0M Dec 18 2024 QEMU_EFI.fd
-rw-r--r--. 1 root root 2.1M Dec 18 2024 QEMU_EFI-pflash.qcow2
-rw-r--r--. 1 root root 64M Dec 18 2024 QEMU_EFI-pflash.raw
-rw-r--r--. 1 root root 2.0M Dec 18 2024 QEMU_EFI.silent.fd
-rw-r--r--. 1 root root 2.1M Dec 18 2024 QEMU_EFI-silent-pflash.qcow2
-rw-r--r--. 1 root root 64M Dec 18 2024 QEMU_EFI-silent-pflash.raw
-rw-r--r--. 1 root root 768K Dec 18 2024 QEMU_VARS.fd
-rw-r--r--. 1 root root 788K Dec 18 2024 vars-template-pflash.qcow2
-rw-r--r--. 1 root root 64M Dec 18 2024 vars-template-pflash.raw
whereas the alpine_aarch-2976_VARS.fd file it creates is 528K.
I noticed when using virsh to create a VM it uses QEMU_EFI-silent-pflash.raw as the loader, so i’ve changed to that in a hope that it’d use vars-template-pflash.raw to generate the nvram properly, but it didn’t help.
Edit: I notice by default it uses /usr/share/edk2/ovmf/OVMF_VARS.fd to generate the nvram file which explains the 528k file size. It seems this is a cluster wide setting, can this not be overriden on a host/vm level?
I’m sorry. I thought the issue was there because of the error I saw in how the file was being generated. But I can’t help you any further
I’ve never worked with the type of images you’re using.
Good luck, and if you find the problem, please share it.