Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2025 04:17:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        sysinstall@FreeBSD.org
Subject:   [Bug 290981] Install does not add itself to UEFI menu on WD SN850X NVMe drive. Worked in 14.3
Message-ID:  <bug-290981-8135-NDEC5gdkMU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-290981-8135@https.bugs.freebsd.org/bugzilla/>
References:  <bug-290981-8135@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290981

--- Comment #3 from Steve Rikli <sr@genyosha.net> ---
I think I'm hitting the same problem, using FreeBSD-15.0-RELEASE-amd64-dvd1.iso
as the install image on USB media, booting in UEFI mode.

My setup is an ASRock ITX motherboard, it was originally installed with FreeBSD
14.3 UEFI and had been running for months. For 15.0 I installed a new sysdisk
-- 120GB Samsung 850 EVO SSD -- no other changes to the system.

My target install is traditional Distribution Sets, UFS filesystems. During
install I didn't see any prompting/menus about old UEFI boot entries. The
install appeared to complete normally, but the system failed to boot, with
typical POST messages about selecting a proper boot device.

I checked the BIOS/UEFI boot config menus, re-confirmed it was set to boot
UEFI, and as expected, did not see "FreeBSD" or related UEFI boot options for
the sysdisk.

I booted the same 15.0 media again, selected [Shell], and checked:

# sysctl machdep.bootmethod
machdep.bootmethod: UEFI

# efibootmgr -v
Boot to FW : false
BootCurrent: 0007
Timeout    : 1 seconds
BootOrder  : 0005, 0006, 0004, 0007, 0000
 Boot0005* Hard Drive  BBS(HD,,0x0)
 Boot0006* USB  BBS(USB,,0x0)
 Boot0004* UEFI: Built-in EFI Shell 
VenMedia(5023b95c-db26-429b-a648-bd47664c8012)
+Boot0007* UEFI: SanDisk Cruzer 1.26
PciRoot(0x0)/Pci(0x16,0x0)/USB(0x1,0x0)/USB(0x3,0x0)/HD(2,GPT,ce1f65a8-cc22-11f0-1d08-61407e6af4da,0x50,0x1000)
                                   
VenHw(2d6447ef-3bc9-41a0-ac19-4d51d01b4ce6,320030003000340031003100300030003900320030003700440044003400330032003400350045000000)
 Boot0000* debian VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
                
HD(1,GPT,cde9edaf-6b1d-4429-9bf7-858abbc83183,0x800,0x100000)/File(\EFI\debian\shimx64.efi)

Unreferenced Variables:

----
I mounted the / and /boot/efi/ partitions at /mnt/ and ran efibootmgr for the
new sysdisk similar to Peter Kay's notes. Afterwards the system booted the
newly-installed FreeBSD
15.0 as hoped, and:

root@nasbox:~ # efibootmgr -v
Boot to FW : false
BootCurrent: 0002
Timeout    : 1 seconds
BootOrder  : 0002, 0005, 0004, 0000
+Boot0002* FreeBSD15
HD(1,GPT,750b94dd-dc76-11f0-a09c-90e2ba51ee18,0x28,0x82000)/File(\efi\freebsd\loader.efi)
                        ada1p1:/efi/freebsd/loader.efi
/boot/efi//efi/freebsd/loader.efi
 Boot0005* Hard Drive  BBS(HD,,0x0)
 Boot0004* UEFI: Built-in EFI Shell 
VenMedia(5023b95c-db26-429b-a648-bd47664c8012)
 Boot0000* debian VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
                
HD(1,GPT,cde9edaf-6b1d-4429-9bf7-858abbc83183,0x800,0x100000)/File(\EFI\debian\shimx64.efi)

Unreferenced Variables:

----
So while there appears to be some problem with UEFI setup in the 15.0
installer, at least the installation is rescueable.

Now that I've had a good 15.0 install on this system, I may try it again from
scratch to see if the success is repeatable.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290981-8135-NDEC5gdkMU>