I’m booting https://github.com/home-assistant/operating-system/releases/download/11.0/haos_generic-aarch64-11.0.qcow2.xz (after decompressing of course) on an aarch64 system with qemu 8.0.0 and KVM
qemu-system-aarch64 -nographic -M virt -cpu host --enable-kvm \
-bios u-boot.bin -smp 4 -m 4096 \
-drive file=hassos.qcow2,format=qcow2,index=0,media=disk \
-device "virtio-net,netdev=landev,disable-legacy=off,disable-modern=off" \
-netdev "tap,id=landev,helper=/usr/lib/qemu-bridge-helper --br=br-lan,vhost=on
u-boot.bin
is from https://downloads.openwrt.org/releases/23.05.0/targets/armsr/armv8/u-boot-qemu_armv8/u-boot.bin
After selecting slot A from GRUB, I get the following:
Booting a command list
EFI stub: Booting Linux Kernel...
EFI stub: EFI_RNG_PROTOCOL unavailable
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services...
And then nothing.
What kernel parameters can I use to get further output? Any ideas what’s going on here?
With EDK2 from https://retrage.github.io/edk2-nightly/bin/RELEASEAARCH64_QEMU_EFI.fd I get all the way to [ 2.592732] EXT4-fs (vda7): mounted filesystem with ordered data mode. Quota mode: none.
Edit: this boots, but there’s a 30 second delay and the network is somewhat broken. What’s the normal way dhcpclient is run on this OS?
can't create /var/lib/dhcp/dhclient.leases: No such file or directory
/sbin/dhclient-script: line 83: ifconfig: not found
Listening on LPF/enp0s1/52:54:00:12:34:56