[Bug 297234] efibootmgr(8) doesn't honor the boot order

[email protected] Sun, 02 Aug 2026 17:14:38 +0000
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D297234

            Bug ID: 297234
           Summary: efibootmgr(8) doesn't honor the boot order
           Product: Base System
           Version: 15.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: [email protected]
          Reporter: [email protected]

efibootmgr(8) doesn't honor the boot order, at least with newly created var.

# efibootmgr -v
Boot to FW : false
BootCurrent: 0001
Timeout    : 1 seconds
BootOrder  : 0001, 0000, 0008, 0009, 0005, 0003, 0002
+Boot0001* Something
HD(1,GPT,d5e1471b-9438-11ed-b38a-448a5b598b35,0x28,0x82000)/File(\efi\boot\=
something.efi)
                        ada1p1:/efi/boot/something.efi
/boot/efi//efi/boot/something.efi
 Boot0000* FreeBSD
HD(1,GPT,d5e1471b-9438-11ed-b38a-448a5b598b35,0x28,0x82000)/File(\efi\freeb=
sd\loader.efi)
                      ada1p1:/efi/freebsd/loader.efi
/boot/efi//efi/freebsd/loader.efi
 Boot0008* UEFI OS
HD(1,GPT,d5e1471b-9438-11ed-b38a-448a5b598b35,0x28,0x82000)/File(\EFI\BOOT\=
BOOTX64.EFI)
                      ada1p1:/EFI/BOOT/BOOTX64.EFI
/boot/efi//EFI/BOOT/BOOTX64.EFI

 Boot0009* Hard Drive  BBS(HD,,0x0)
 Boot0005* CD/DVD Drive  BBS(CDROM,,0x0)
 Boot0003* P=C3=A9riph=C3=A9rique inconnue  BBS(0x8,,0x0)
 Boot0002* UEFI: Built-in EFI Shell=20
VenMedia(5023b95c-db26-429b-a648-bd47664c8012)

# efibootmgr -o 0,8,9,5,3,2,1
Boot to FW : false
BootCurrent: 0001
Timeout    : 1 seconds
BootOrder  : 0000, 0008, 0009, 0005, 0003, 0002, 0001
 Boot0000* FreeBSD
 Boot0008* UEFI OS
 Boot0009* Hard Drive=20
 Boot0005* CD/DVD Drive=20
 Boot0003* P=C3=A9riph=C3=A9rique inconnue=20
 Boot0002* UEFI: Built-in EFI Shell=20
+Boot0001* Something
root@FBS-Kikof:/home/Icarus #=20
root@FBS-Kikof:/home/Icarus #=20

But, when I reboot, Boot0001 is yet the first in boot order, and has started
the system. How this can be?

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