On Fri, 23 Oct 2020 09:59:24 +0800 Kevin Shell <ksh...@gmx.com> wrote: > I want to try out OpenBSD UEFI. > How to install OpenBSD with UEFI boot on qemu? > The install68.iso has no UEFI support. > My following command on Linux can't boot OpenBSD UEFI. > > qemu-system-x86_64 -enable-kvm \ > -machine q35 \ > -cpu host \ > -smp cores=4,threads=1 \ > -m 1G \ > -bios /usr/share/edk2/ovmf/OVMF_CODE.fd \ > -drive file=install68.img,format=raw
Does the drive of "install68.img" appear on the boot menu on BIOS? At least on my linux machine, qemu-system-x86_64 -machine q35 -smp cores=4,threads=1 -m 1G -bios /usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd -drive file=install68.img,format=raw doesn't boot as well. The drive doesn't appear on the boot menu. But by removing "-machine q35" from the line, it booted successfully.