From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 022D7138330 for ; Mon, 19 Sep 2016 22:10:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66739E0B6A; Mon, 19 Sep 2016 22:09:54 +0000 (UTC) Received: from icp-osb-irony-out1.external.iinet.net.au (icp-osb-irony-out1.external.iinet.net.au [203.59.1.210]) by pigeon.gentoo.org (Postfix) with ESMTP id 5239CE0B2F for ; Mon, 19 Sep 2016 22:09:52 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2ATDgABYeBX/5ITRWpdHAEBBAEBCgEBgzoBAQEBAR6BAbtJhh4CgVVMAQIBAQEBAQJeJ4RiAQEEdBULDQsuVxMIAQGIRb4bATCGN4F8gliFEIUQBY8oikePXIllF4VukF0CVIR3MYg2AQEB X-IPAS-Result: A2ATDgABYeBX/5ITRWpdHAEBBAEBCgEBgzoBAQEBAR6BAbtJhh4CgVVMAQIBAQEBAQJeJ4RiAQEEdBULDQsuVxMIAQGIRb4bATCGN4F8gliFEIUQBY8oikePXIllF4VukF0CVIR3MYg2AQEB X-IronPort-AV: E=Sophos;i="5.30,364,1470672000"; d="scan'208";a="64921169" Received: from unknown (HELO mail.vm.localdomain) ([106.69.19.146]) by icp-osb-irony-out1.iinet.net.au with ESMTP; 20 Sep 2016 06:09:50 +0800 Received: from localhost (localhost [127.0.0.1]) by mail.vm.localdomain (Postfix) with ESMTP id 80B05576C7 for ; Tue, 20 Sep 2016 06:09:50 +0800 (AWST) X-Virus-Scanned: amavisd-new at localdomain Received: from mail.vm.localdomain ([127.0.0.1]) by localhost (mail.vm.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GrZFA2iVxm_n for ; Tue, 20 Sep 2016 06:09:47 +0800 (AWST) Received: from [192.168.44.7] (rattus.lan.localdomain [192.168.44.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: wdk) by mail.vm.localdomain (Postfix) with ESMTPSA id 49492576C3 for ; Tue, 20 Sep 2016 06:09:47 +0800 (AWST) Subject: Re: [gentoo-user] How to use efibootmgr To: gentoo-user@lists.gentoo.org References: <3555183.NN87cYWYpd@peak> From: Bill Kenworthy Message-ID: <34a0faf2-9a79-21ef-c00b-fec4dc7c9e6c@iinet.net.au> Date: Tue, 20 Sep 2016 06:09:45 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <3555183.NN87cYWYpd@peak> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Archives-Salt: eba319e8-8ed2-4ad7-a889-7ae0e74748ec X-Archives-Hash: e0323652bce450a9e121949818f85b12 On 19/09/16 22:23, Peter Humphrey wrote: > Hello list, > > I'm trying to install a customised version of SysRescCD on a USB drive, and > it's all uphill. > > The current stage has me trying to create a UEFI boot entry for it. I have > several entries I no longer need and I'm trying to delete them with > efibootmgr. This is what happens: > > # efibootmgr --remove-dups > BootCurrent: 0002 > Timeout: 1 seconds > BootOrder: 0003,0001,0000,0002,0008,0009,0010,0014 > Boot0000* SysRescCD > Boot0001* SysRescCD > Boot0002* Linux Boot Manager > Boot0003* SysRescCD > Boot0008* CD/DVD Drive > Boot0009* Hard Drive > Boot0010* UEFI OS > Boot0014* UEFI: SanDisk > > # efibootmgr --delete-bootnum 0001 > You must specify an entry to delete (see the -b option). > > But I have - number 1. The manual says: > > -b | --bootnum XXXX > Modify BootXXXX (hex) > > -B | --delete-bootnum > Delete bootnum (hex) > > No variation of 1, 01, 0x1, 0x0001 etc. makes any difference. I know I'm not > as bright as I used to be, but what on earth have I got wrong? /boot is > mounted. > Try efibootmgr -B -b 0005 BillK