Fix UEFI boot by mounting efivarfs and forcing systemd-boot install

This commit is contained in:
2026-02-05 15:17:48 +01:00
parent 3a226108ec
commit f7fc354f3f
3 changed files with 69 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ qemu-system-x86_64 \
-drive if=pflash,format=raw,readonly=on,file="$OVMF_CODE" \
-drive if=pflash,format=qcow2,file="$OVMF_VARS_LOCAL" \
-drive file="$DISK_PATH",format=qcow2,if=virtio \
-cdrom "$ISO_PATH" \
# -cdrom "$ISO_PATH" \
-boot once=d \
-netdev user,id=net0 \
-device virtio-net-pci,netdev=net0 \
@@ -41,4 +41,4 @@ qemu-system-x86_64 \
-display gtk,gl=on \
-monitor unix:$HOME/.local/share/iridium-installer-vm/monitor.sock,server,nowait \
-name "Iridium Installer Test VM (UEFI)" \
-loadvm clean-state
# -loadvm clean-state