tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: GPT attributes in dkwedge [PATCH]
On Mon, 25 Sep 2023, Robert Elz wrote:
Date: Mon, 25 Sep 2023 05:57:49 +0000
From: Emmanuel Dreyfus <manu%netbsd.org@localhost>
Message-ID: <ZREhXTJxV3GwmbOO%homeworld.netbsd.org@localhost>
| bootme.cfg is searched in EFI paririon /EFI/NetBSD/boot.cfg
Which EFI partition? I think I have about 5 or 6, sprinkled around
various bootable devices (more than one on some). None of them (boot.cfg
files) are used.
The first EFI partition. Without a bootme etc., flag, the NetBSD
UEFI bootloader tries to read /EFI/NetBSD/boot.cfg from there,
first. Then it tries to read it from the first NetBSD partition
in the EFI table.
I've hacked my bootloader locally to make it try a /EFI/NetBSD/boot.cfg
on the partition where it itself was loaded from: this is for 2
reasons:
1. I like separate NetBSD EFI partitions for 9.x, 10.x, -HEAD etc.,
and want each to read its own boot.cfg.
2. Some commands are subtly different between 9.x and 10.x. Eg.
```
gop=0
```
on its own line will work with a 9.x bootloader. But the 10.x
bootloader needs a `gop 0' in a `menu=' entry to have the same effect.
-RVP
Home |
Main Index |
Thread Index |
Old Index