[Bug 230871] efibootmgr lacks necessary functionality

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 15 21:36:04 UTC 2018


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

--- Comment #14 from Mason Loring Bliss <mason at blisses.org> ---
This doesn't seem to like to activate 0. Making a duplicate entry on 2 allowed
me to activate the desired bootloader, and efibootmgr was evidently willing to
delete 0, if not activate it.

# efibootmgr
BootCurrent: 0004
Timeout : 0 seconds
BootOrder : 0001, 0000, 0004
Boot0001* freebsd1
Boot0000  freebsd0
Boot0004* UEFI: USB Flash Disk 5.00
# efibootmgr -v
BootCurrent: 0004
Timeout : 0 seconds
BootOrder : 0001, 0000, 0004
Boot0001* freebsd1
HD(1,GPT,59216b88-d0c0-11e8-ba76-6805ca0f3135,0x28,0x800)/File(\efi\freebsd\boot1.efi)
                       ada1p1:/efi/freebsd/boot1.efi (null)
Boot0000  freebsd0
HD(1,GPT,590d1741-d0c0-11e8-ba76-6805ca0f3135,0x28,0x800)/File(\efi\freebsd\boot1.efi)
                       ada0p1:/efi/freebsd/boot1.efi (null)
Boot0004* UEFI: USB Flash Disk 5.00
PciRoot(0x0)/Pci(0x1a,0x0)/USB(0x1,0x0)/USB(0x2,0x0)/HD(1,MBR,0x90909090,0x1,0x640)
                                   
VenHw(2d6447ef-3bc9-41a0-ac19-4d51d01b4ce6,550053004200200046006c0061007300680020004400690073006b00200035002e00300030000000)
# efibootmgr -a 0
efibootmgr:        efibootmgr [-a | -A] bootvarnum
# efibootmgr -a 0000
efibootmgr:        efibootmgr [-a | -A] bootvarnum
# efibootmgr -a 1
BootCurrent: 0004
Timeout : 0 seconds
BootOrder : 0001, 0000, 0004
Boot0001* freebsd1
Boot0000  freebsd0
Boot0004* UEFI: USB Flash Disk 5.00
# efibootmgr -a 0
efibootmgr:        efibootmgr [-a | -A] bootvarnum
# efibootmgr -c -L freebsd0 -l ada0p1:/efi/freebsd/boot1.efi
BootCurrent: 0004
Timeout : 0 seconds
BootOrder : 0002, 0001, 0000, 0004
Boot0002  freebsd0
Boot0001* freebsd1
Boot0000  freebsd0
Boot0004* UEFI: USB Flash Disk 5.00
# efibootmgr -a 2
BootCurrent: 0004
Timeout : 0 seconds
BootOrder : 0002, 0001, 0000, 0004
Boot0002* freebsd0
Boot0001* freebsd1
Boot0000  freebsd0
Boot0004* UEFI: USB Flash Disk 5.00
# efibootmgr -B 0
Removing boot variable 'Boot0000'
Removing 0x0 from BootOrder
BootCurrent: 0004
Timeout : 0 seconds
BootOrder : 0002, 0001, 0004
Boot0002* freebsd0
Boot0001* freebsd1
Boot0004* UEFI: USB Flash Disk 5.00

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


More information about the freebsd-bugs mailing list