I am attempting to install the current hassos on a KVM virtual machine, however I keep getting dropped to the EFI shell instead of booting.
I followed the steps here, then looked through several related posts - including ones marked as resolved. I also searched for KVM UEFI issues and came across this YouTube video that, although the virtualization platform is Proxmox vs. KVM and the OS is different, seemed to match my situation. I looked and the entry in the EFI configuration pointing to the efi file for hassos was missing. I added that entry, and it is the first boot entry. I still get dropped to the EFI shell:
I caught a brief glimpse of a message before this screen, but was unable to see it. I managed to get a screenshot of it:
The error seems to indicate the hassos efi boot file (bootaa64.efi) is not supported - which is why I think this might be more an HA issue than an KVM EFI issue. Of course, I could be wrong.
If I exit from the EFI shell, I get the EFI configuration screen, just as shown in the video I linked above. Adding a boot option, I see the hassos-boot disk as the only one available:
with the only path being EFI/BOOT/, and two options under that:
Grubenv is not a boot loader, so that is not a viable option - leaving the only option the bootaa64.efi file - which is unsupported.
On the KVM side, I did as I saw in this thread here and checked the configuration for the virtual machine (see the last two entries in the thread).
<os firmware='efi'>
<type arch='x86_64' machine='pc-i440fx-10.0'>hvm</type>
<firmware>
<feature enabled='no' name='enrolled-keys'/>
<feature enabled='no' name='secure-boot'/>
</firmware>
<loader readonly='yes' type='pflash' format='raw'>/usr/share/OVMF/OVMF_CODE_4M.fd</loader>
<nvram template='/usr/share/OVMF/OVMF_VARS_4M.fd' templateFormat='raw' format='raw'>/var/lib/libvirt/qemu/nvram/xxxxxxxx_VARS.fd</nvram>
<boot dev='hd'/>
</os>
I am not using the default hassos name, I am using a different VM name, which I obfuscated here.
It seems as though KVM/OVMF is finding the boot file, it just doesn’t seem to like it - hence the ‘unsupported’ error.
What have I overlooked or what am I missing here? I really do not want to have to set up a separate box for this - the idea of it being a VM in the first place is to take advantage of the server and rack. Purchasing a new server is well out of the budget for now anyway (I need something with redundant power supplies and rack-mountable for this use case).



