Skip to main content

A visual wrapper for efibootmgr

Project description

EfiBootDude

efibootdude presents a visual (curses) interface to efibootmgr which allows editing the bios boot menu and parameters while running Linux.

  • Install efibootdude using pipx install efibootdude, or however you do so.
  • Prerequisites: install rhboot/efibootmgr
    • For example, on a Debian derived distro, use sudo apt install efibootmgr.

efibootdude covers only the most commonly used capabilities of efibootmgr including:

  • reordering boot entries,
  • removing boot entries,
  • setting the boot entry for the next boot only,
  • setting boot entries active or inactive, and
  • setting the boot menu timeout value (until it boots the default entry).

To be sure, there are many other esoteric uses of efibootmanager including adding a new boot entry; for such needs, just use efibootmgr directly.

Usage

After running efibootdude and making some changes, you'll see a screen comparable to this:

efibootdude-screenshot.

At this point

  • The "current" line starts with > and is highlighted.
  • The top line shows actions for the current line; type the underscored letter to effect its action.
  • Type ? for a more complete explanation of the keys, navigation keys, etc.
    • ALWAYS view the help at least once if unfamiliar with this tool, it navigation, and/or uncertain of keys not shown on top line.
  • With this current line, we can:
    • Type u or d to move it up or down in the boot order.
    • Type t to relabel the boot entry.
    • Type r to remove the boot entry.
    • And so forth.
  • The entries with * on the left are active boot entries; toggle whether active by typing * for the corresponding entries.
  • Press ESC key to abandon any changes and reload the boot information.
  • When ready to write the changes to the BIOS, enter w.
  • When writing the changes, efibootdude drops out of menu mode so you can verify the underlying commands, error codes, and error messages.
  • After you write changes, type b to reboot, if you wish and the boot menu looks OK.
  • BTW, the top-line keys vary per context; e.g.:
    • w is only shown with pending changes, and
    • b is only shown w/o pending changes.

Caveats

  • Some operations may not work permanently even though there is no indication from efibootmgr (e.g., on my desktop, I cannot re-label boot entries).
  • Some operations may only work (again) after re-booting (e.g., you might find activating an entry does not work, but it does so after a reboot).

About this Project

This project was inspired by Elinvention/efiboots. Relative to that project, the aims of efibootdude are:

  • to be easier to install especially when not in your distro's repos.
  • to clearly present the partition of the boot entries (as a mount point if mounted and, otherwise, the device pathname).
  • to show the underlying commands being run for education, for verification, and for help on investigating issues.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

efibootdude-0.5.1.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

efibootdude-0.5.1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file efibootdude-0.5.1.tar.gz.

File metadata

  • Download URL: efibootdude-0.5.1.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for efibootdude-0.5.1.tar.gz
Algorithm Hash digest
SHA256 2852001fd84c45622e9a1aa4c141415adf9825dd048853b9926ca7fffebb84b4
MD5 5229662e238e08faf61c6c877c44c69d
BLAKE2b-256 cc3189ab04232ef0549ac6bb1730d2b3ab8013777423c32543072114926b07e7

See more details on using hashes here.

File details

Details for the file efibootdude-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: efibootdude-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for efibootdude-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f470f06cd053f089dd5c20522f7029cd581d52682cf03a8b451fdf1d2837a50
MD5 eb4819db296d52ed7c5ae77e4baf186c
BLAKE2b-256 62051ef6492e9ca1fa51084e78a0c587ec645614089dad9a3e54fcaab76afa12

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page