On Thu, 23 Nov 2023 00:37:37 -0800 Nick Owens wrote: > On Tue, Nov 21, 2023 at 7:03 PM Chris Narkiewicz <he...@ezaquarii.com> wrote: > > > > I'm experimentin with auto-install over network using linux libvirt > > (qemu). > > > > I managed to load pxeboot in BIOS mode and I'm wondering if UEFI > > is supported. > > > > According to this blog, I should load BOOTX64.EFI instead of pxeboot. > > > > https://eradman.com/posts/autoinstall-openbsd.html > > > > I was skeptical but tried it neverthekess and system immediately reboots > > after > > probing disk: > > > > probing: p0 com0 mem[640K 2029M 9M 3M] > > disk:BS->LocateHandle() returns 14 > > <reboot> > > > > Is it possible to net-boot installer in UEFI using QEMU? > > > > Cheers, > > Chris > > > > i had some trouble getting PXE set up with dhcpd - see my mail from > april, "dhcpd user-class and vendor-class". > > i think there is also a bug in the EFI loader when run under OVMF as > you experienced, but i never figured it out.
It works with QEMU, it took me around 2 minutes to boot a blank VM in UEFI mode, auto-install it, reboot it and see the login prompt. Error code 14 means "the item was not found", there is probably something wrong with the VM/disk configuration.