From 585ff0bb5aa5335f4a1ca42535caade42241c249 Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Sun, 14 Dec 2025 01:10:56 +0300 Subject: [PATCH] Use miniroot disk on OpenBSD for UEFI installXY.img is intended for offline installation, weighs several hundreds of megabytes and requires mounting itself during boot to provide included file sets, which will not work when loaded entirely into RAM without backing device as 'sanboot' does on UEFI. Even if it worked, users may wish to fetch only a subset of sets or use different sources/networks in which case preloading everything via iPXE just wastes time and resources. miniroot78.img weights less than six megabytes and fully fits into RAM. It does not mount any disk or CD, i.e. does not depend on memory disks. It works the same for any platform or boot firmware, but needs network. Use miniroot to fix UEFI boot. See https://www.openbsd.org/faq/faq4.html#Download for available images. --- roles/netbootxyz/templates/menu/openbsd.ipxe.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/netbootxyz/templates/menu/openbsd.ipxe.j2 b/roles/netbootxyz/templates/menu/openbsd.ipxe.j2 index 5101ee41..d5ed303c 100644 --- a/roles/netbootxyz/templates/menu/openbsd.ipxe.j2 +++ b/roles/netbootxyz/templates/menu/openbsd.ipxe.j2 @@ -30,7 +30,7 @@ chain ${memdisk} iso raw goto openbsd_menu :efi_boot -set src ${openbsd_mirror}/${openbsd_base_dir}/${ver}/${os_arch}/install${image_ver}.img +set src ${openbsd_mirror}/${openbsd_base_dir}/${ver}/${os_arch}/miniroot${image_ver}.img imgfree sanboot ${src} goto openbsd_menu