Boot an EFI system with QEMU
Hello Steve,
thanks a lot for the tip! However, I'm a complete novice when it comes to running custom firmware in QEMU. I just tried the following:
1.: Download the latest EDK2 release from Github:
https://github.com/tianocore/edk2/archive/refs/tags/edk2-stable202302.tar.gz
2.: Extract the OVMF firmware file:
tar xz edk2-edk2-stable202302/OvmfPkg/OvmfPkgX64.fdf <Downloads/edk2-edk2-stable202302.tar.gz
3.: Try to run it with QEMU:
sudo qemu-system-x86_64 -accel kvm -bios edk2-edk2-stable202302/OvmfPkg/OvmfPkgX64.fdf -smp 2 -m 2G /dev/sda
This will just give me a QEMU error message ("could not load PC BIOS"). Is it possible to boot an EFI system with QEMU without downloading a custom firmware file, i.e. is there a Debian package providing this functionality?
Kind regards,
Valentin Caracalla
Reply to: