Re: EFI amd64: boot.cfg goes where?
RVP <[email protected]> Mon, 3 Aug 2026 22:11:12 +0000 (UTC)
| Newsgroups | gmane.os.netbsd.general |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 2 Aug 2026, DTB wrote: > My boot.cfg is just >>> root NAME=NETBSD >>> boot NAME=NETBSD:netbsd > That syntax isn't right. See boot.cfg(5) for examples. > fdisk is worryingly printing >> fdisk: /dev/rdk3: DIOCGDEFLABEL: Inappropriate ioctl for device It would because fdisk should be given disk names, not wedges. Run `sysctl hw.disknames' to get a list of disk names (omit any dk*). > 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. > How did you manage to create a disklabel on a GPT partitioned (and UEFI booted) system? It's a bit of a circus to do this. Can you show the output of: ``` sysctl machdep.bootmethod fdisk wd0 # or, sd0, ld0, wd1, ... gpt show wd0 # " ``` -RVP PS. if any of the GPT partitions have a `bootme' attribute, just get rid of it.