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 135C8138330 for ; Mon, 19 Sep 2016 14:24:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 079D8E09B3; Mon, 19 Sep 2016 14:23:52 +0000 (UTC) Received: from smarthost01d.mail.zen.net.uk (smarthost01d.mail.zen.net.uk [212.23.1.7]) by pigeon.gentoo.org (Postfix) with ESMTP id 58B44E0912 for ; Mon, 19 Sep 2016 14:23:50 +0000 (UTC) Received: from [82.69.80.10] (helo=peak.localnet) by smarthost01d.mail.zen.net.uk with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1blzU4-0004qD-1R for gentoo-user@lists.gentoo.org; Mon, 19 Sep 2016 14:23:48 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] How to use efibootmgr Date: Mon, 19 Sep 2016 15:23:47 +0100 Message-ID: <3555183.NN87cYWYpd@peak> User-Agent: KMail/4.14.10 (Linux/4.7.4-gentoo; KDE/4.14.24; x86_64; ; ) 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 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-smarthost01d-IP: [82.69.80.10] Feedback-ID: 82.69.80.10 X-Archives-Salt: f54a7f0e-b8f6-49e3-ae05-8e72e1160ac1 X-Archives-Hash: 3bb2c6dceb78ffc1a50695d6b8bf2ca7 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. -- Rgds Peter