1 |
On Mon, Sep 19, 2016 at 10:23 AM, Peter Humphrey <peter@××××××××××××.uk> 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 |
The manpage seems to be incorrect; -B/--delete-bootnum does not take |
40 |
any argument. Instead, you must specify the entry number using the -b |
41 |
option. |
42 |
|
43 |
Try this: |
44 |
|
45 |
efibootmgr -b 0001 -B |