Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2018 21:36:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230871] efibootmgr lacks necessary functionality
Message-ID:  <bug-230871-227-0BZiohkFqN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230871-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230871-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230871

--- Comment #14 from Mason Loring Bliss <mason@blisses.org> ---
This doesn't seem to like to activate 0. Making a duplicate entry on 2 allo=
wed
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,0x=
1,0x640)
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20
VenHw(2d6447ef-3bc9-41a0-ac19-4d51d01b4ce6,550053004200200046006c0061007300=
680020004400690073006b00200035002e00300030000000)
# 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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230871-227-0BZiohkFqN>