Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: boot.cfg dev command not working



On Sun, 23 Mar 2025, Paul Goyette wrote:

On Mon, 24 Mar 2025, RVP wrote:

On Sat, 22 Mar 2025, Paul Goyette wrote:

My machine doesn't work this way.  It fails to boot if I mark the
NetBSD partition; instead it proceeds to the next bootable device.
The bootme flag seems to be acting as "this is where bootx64.efi is
found".


Can you see if there are bogus EFI boot entries that might be interfering,
and then delete all those which don't correspond to the NetBSD EFI ESP?
-HEAD now has an efi(8) utility which can do it:

efi -B -b NNNN

What do I use for NNNN ?

Please also note that this thread has completely diverged from what I
started.  The problem I'm really interested in solving is documented
in port-and64/59207

Here's my current info - what would you want me to try?  And if the
wrong thing gets deleted, how do I recover?

# efi -v
Boot0004* UEFI OS       HD(1,GPT,143a1b62-7eee-4032-adf8-dfe20a383bdb,0x800,0x6400000)/File(\EFI\BOOT\BOOTX64.EFI)..BO
Boot0005* UEFI OS       HD(1,GPT,adb5c6c6-f9fa-45b7-a332-5f52a4e7c0a5,0x800,0x19000)/File(\EFI\BOOT\BOOTX64.EFI)..BO
Boot0006* UEFI:CD/DVD Drive     BBS(Reserved(0x81),0x0000,)
Boot0007* UEFI:Removable Device BBS(Reserved(0x82),0x0000,)
Boot0008* UEFI:Network Device   BBS(Reserved(0x83),0x0000,)
BootCurrent: 0004
BootFromUSB  ec87d643-eba4-4bb5-a1e5-3f3e36b20da9     1 0x7<nvmem,BSAcc,RTAcc>
BootOptionSupport:      0x3<Key,App,Count=0>
BootOrder: 0004,0005,0006,0007,0008
#


+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+


Home | Main Index | Thread Index | Old Index