Please don't To or Cc me, I'm on the list. On Fri, Oct 23, 2020 at 12:49:13PM +0900, YASUOKA Masahiko wrote: > On Fri, 23 Oct 2020 09:59:24 +0800 > Kevin Shell <[email protected]> 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? >
Oh finally I figure out how to boot OpenBSD from the UEFI shell. But the qemu window gets very height and can't resize and I can't see the bottom lines of texts, the font is *really* small. > 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. Maybe removing "-machine q35" makes qemu works in BIOS compatible mode, not UEFI mode? -- kevin

