Re: [PATCH] BIOS boot vs EFI system partition mountpoint

Martin Husemann <[email protected]> Sat, 20 Aug 2022 18:22:26 +0200
Newsgroups gmane.os.netbsd.ports.x86-64,gmane.os.netbsd.ports.i386
Message-ID <[email protected]>
On Sat, Aug 20, 2022 at 04:14:46PM +0000, Taylor R Campbell wrote:
> (b) update the primary bootloader with installboot and move /boot to
> /biosboot if they want to turn the existing image into a hybrid image
> that can also be booted with EFI (assuming it's already on a GPT).

Minor nit: GPT is unrelated here, but the disk needs to have space
for a new EFI System Partition (or already have one). You can UEFI-boot
MBR partitioned disks just fine.

I guess the main point of confusion is that you can't add /boot as a directory
to the mtree specials file or similar (or find/add some mtree notation that
allows it to be a file instead), and that you are not going to create
a directory /boot on updates (but would do so on new installs, via
sysinst at runtime, and not include the dir in any sets).

Martin