From owner-freebsd-bugs@freebsd.org Mon Oct 15 21:36:03 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF92710C9F7B for ; Mon, 15 Oct 2018 21:36:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 18ADE8699B for ; Mon, 15 Oct 2018 21:36:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id BE81A10C9F65; Mon, 15 Oct 2018 21:36:02 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 840C910C9F63 for ; Mon, 15 Oct 2018 21:36:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DA7328695C for ; Mon, 15 Oct 2018 21:36:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E06AD23F51 for ; Mon, 15 Oct 2018 21:36:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9FLa0RD079142 for ; Mon, 15 Oct 2018 21:36:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9FLa0ag079139 for bugs@FreeBSD.org; Mon, 15 Oct 2018 21:36:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 230871] efibootmgr lacks necessary functionality Date: Mon, 15 Oct 2018 21:36:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: mason@blisses.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2018 21:36:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230871 --- Comment #14 from Mason Loring Bliss --- 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.=