mirror of
https://github.com/BlankOn/ovmf-blobs
synced 2024-11-21 12:21:44 +03:00
bios32.bin | ||
bios64.bin | ||
README.md |
UEFI bios for QEMU
Building
Preparation
git clone https://github.com/tianocore/edk2.git
cd edk2
bios32.bin
OvmfPkg/build.sh -a IA32 -n 4
cp Build/OvmfX64/DEBUG_GCC4?/FV/OVMF.fd bios32.bin
bios64.bin
OvmfPkg/build.sh -a X64 -n 4
cp Build/OvmfX64/DEBUG_GCC4?/FV/OVMF.fd bios64.bin
Using
32-bit UEFI in 64-bit system (emulating BayTrail)
qemu-system-x86_64 -bios /path/to/bios32.bin ....<other qemu options>....
64-bit UEFI in 64-bit system
qemu-system-x86_64 -bios /path/to/bios64.bin ....<other qemu options>....
32-bit UEFI in 32-bit system (emulating old Macs
qemu-system-i386 -bios /path/to/bios32.bin ....<other qemu options>....