Re: EFI amd64: boot.cfg goes where?

"DTB" <[email protected]> Sun, 02 Aug 2026 22:14:59 -0600
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
On Sun Aug 2, 2026 at 5:14 PM MDT, RVP wrote:
> On Sun, 2 Aug 2026, DTB wrote:
>
>> My ESP is mounted at /boot/efi, so I've tried placing boot.cfg in the
>> root of that file system and in its subdirectories EFI/ and EFI/NetBSD/,
>> and the booter hasn't seen any of these. I saw mention of someone
>> putting their boot.cfg in their system root but that didn't work for me.
>>
>
> I have a slightly more elaborate setup, with Windows, Ubuntu, FreeBSD, Ne=
tBSD
> and OpenBSD on the SSD, and all the BSDs have their own ESP partitions (+=
 root
> and swap). Windows and Ubuntu share the 1st (main) ESP partition.
>
> On the OpenBSD EFI ESP, I have rEFInd too, and the whole mess is booted u=
sing
> GRUB. So, GRUB is loaded first, and I can boot any of the OSes, and also =
rEFInd
> from the GRUB menu.
>
> If I choose rEFInd, I can then again choose what OSes to boot, and it all=
 works
> fine with NetBSD's boot.cfg being used as documented in x86/boot.8. I.e.,
>
> - EFI\NetBSD\boot.cfg on the main EFI ESP is attempted first, then
> - /boot.cfg is read from the 1st NetBSD partition.
>
> Can you post your boot.cfg and partition layout?

My boot.cfg is just
>> root NAME=3DNETBSD
>> boot NAME=3DNETBSD:netbsd

fdisk is worryingly printing
>fdisk: /dev/rdk3: DIOCGDEFLABEL: Inappropriate ioctl for device
so from memory here is the layout: My ESP is 1GiB, MS Windows follows for
64GiB, then GNU+Linux for another 64GiB, and then my NetBSD disklabel
partition is 128GiB. My single ESP is being used for all three operating
systems.

:3 <3 -3