Gentoo Archives: gentoo-user

From: Bill Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to use efibootmgr
Date: Mon, 19 Sep 2016 22:10:00
Message-Id: 34a0faf2-9a79-21ef-c00b-fec4dc7c9e6c@iinet.net.au
In Reply to: [gentoo-user] How to use efibootmgr by Peter Humphrey
1 On 19/09/16 22:23, Peter Humphrey wrote:
2 > Hello list,
3 >
4 > I'm trying to install a customised version of SysRescCD on a USB drive, and
5 > it's all uphill.
6 >
7 > The current stage has me trying to create a UEFI boot entry for it. I have
8 > several entries I no longer need and I'm trying to delete them with
9 > efibootmgr. This is what happens:
10 >
11 > # efibootmgr --remove-dups
12 > BootCurrent: 0002
13 > Timeout: 1 seconds
14 > BootOrder: 0003,0001,0000,0002,0008,0009,0010,0014
15 > Boot0000* SysRescCD
16 > Boot0001* SysRescCD
17 > Boot0002* Linux Boot Manager
18 > Boot0003* SysRescCD
19 > Boot0008* CD/DVD Drive
20 > Boot0009* Hard Drive
21 > Boot0010* UEFI OS
22 > Boot0014* UEFI: SanDisk
23 >
24 > # efibootmgr --delete-bootnum 0001
25 > You must specify an entry to delete (see the -b option).
26 >
27 > But I have - number 1. The manual says:
28 >
29 > -b | --bootnum XXXX
30 > Modify BootXXXX (hex)
31 >
32 > -B | --delete-bootnum
33 > Delete bootnum (hex)
34 >
35 > No variation of 1, 01, 0x1, 0x0001 etc. makes any difference. I know I'm not
36 > as bright as I used to be, but what on earth have I got wrong? /boot is
37 > mounted.
38 >
39
40 Try efibootmgr -B -b 0005
41
42 BillK