First time install on Pi, fails tragically

I am trying to run the install instructions at Linux - Home Assistant on a Pi 5

pi@pi5:~ $ ls -laht hao*
-rw-r--r-- 1 pi pi 867M Oct 15 13:50 haos_ova-13.2.qcow2
pi@pi5:~ $ sha1sum haos_ova-13.2.qcow2 
e3ce9c4465d9c98ea72fc1756c36978aba838c77  haos_ova-13.2.qcow2
pi@pi5:~ $

But I’m getting some sort of error, that may or may not be EFI secure boot related ?

Any thoughts on how to trouble shoot this ? /var/log/libvirt/qemu/haos.log has nothing of obvious note in it

virt-install --name haos --description “Home Assistant OS” --os-variant=generic --ram=2096 --vcpus
=1 --disk ./haos_ova-13.2.qcow2,bus=scsi --controller type=scsi,model=virtio-scsi --import --graphics none --boot uefi

BdsDxe: failed to load Boot0001 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x0,0x0): Not Found
BdsDxe: loading Boot0002 “EFI Internal Shell” from Fv(64074AFE-340A-4BE6-94BA-91B5B4D0F71E)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
BdsDxe: starting Boot0002 “EFI Internal Shell” from Fv(64074AFE-340A-4BE6-94BA-91B5B4D0F71E)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
BdsDxe: failed to start Boot0002 “EFI Internal Shell” from Fv(64074AFE-340A-4BE6-94BA-91B5B4D0F71E)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1): Security Violation
BdsDxe: No bootable option or device was found.
BdsDxe: Press any key to enter the Boot Manager Menu.

.qcow2 as ending on the image indicate an image for a hypervisor and not an image for direct installation on a Raspberry pi.

It’s the wrong qcow2. (It’s for full pc’s not for raspberry)
Use haos_generic-aarch64-13.2.qcow2.xz

.qcow2 as ending on the image indicate an image for a hypervisor and not an image for direct installation

Good. I want to install it in a hypervisor. Hence using virt-install rather than dd, not sure if you missed this or if I wasn’t clear enough?

Ah ha, maybe ?

I’m still not getting a good boot. I feel like something is Odd with qemu ?

Errors still include

BdsDxe: loading Boot0001 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x0,0x0)
BdsDxe: failed to load Boot0001 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x0,0x0): Access Denied

I can manually browse the filesystem from the qemu BIOS, but selecting the “boot from file” option, and going to /efi/boot/bootaa64.efi doesn’t seem to do anything

Ah ha !

As well as using a the …aarch64… download, the first boot is “expected” to fail and you have to go in and manually disable secure boot (see Installing HA OS 12.2 in a virtualized KVM (virtual manager) using rasperry PI 5 and Rasperry pi OS not working - #9 by vmariniferreira)

Is there a process for tweaking the install docs to hint at this ?