public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Gilbert <floppym@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to use efibootmgr
Date: Mon, 19 Sep 2016 13:08:29 -0400	[thread overview]
Message-ID: <CAJ0EP41TWatLmy4jsWa+8bbtAS4CTXtJytwqYrqkP9O2psesOw@mail.gmail.com> (raw)
In-Reply-To: <3555183.NN87cYWYpd@peak>

On Mon, Sep 19, 2016 at 10:23 AM, Peter Humphrey <peter@prh.myzen.co.uk> 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.

The manpage seems to be incorrect; -B/--delete-bootnum does not take
any argument. Instead, you must specify the entry number using the -b
option.

Try this:

efibootmgr -b 0001 -B


  reply	other threads:[~2016-09-19 17:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-19 14:23 [gentoo-user] How to use efibootmgr Peter Humphrey
2016-09-19 17:08 ` Mike Gilbert [this message]
2016-09-19 20:28   ` Mick
2016-09-20  9:26     ` Peter Humphrey
2016-09-19 22:09 ` Bill Kenworthy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ0EP41TWatLmy4jsWa+8bbtAS4CTXtJytwqYrqkP9O2psesOw@mail.gmail.com \
    --to=floppym@gentoo.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox