Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] How to use efibootmgr Mike Gilbert <floppym@g.o>
Re: [gentoo-user] How to use efibootmgr Bill Kenworthy <billk@×××××××××.au>