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
efibootdudeusingpipx install efibootdude, or however you do so. - Prerequisites: install rhboot/efibootmgr
- For example, on a Debian derived distro, use
sudo apt install efibootmgr.
- For example, on a Debian derived distro, use
efibootdude covers the most commonly used capabilities of efibootmgr; you can:
- reorder, enable/disable, copy, and remove boot entries
- choose what to boot on the next reboot (BootNext)
- set the timeout before auto-booting
- save your changes and reboot
Note: Copying a boot entry effectively adds a new entry with a different label. For more esoteric uses of efibootmgr (like setting custom boot variables), use efibootmgr directly.
Usage
After running efibootdude and making some changes, you'll see a screen comparable to this:
wRITE down next tag *:inact copy rmv v:verbose ?:help quit
──────────────────────────────────────────────────────────────────────────────
BootNext: ---
BootCurrent: 0007
Timeout: 2 seconds
>* 0006 Linux Boot Manager /dev/nvme0n1p1 \EFI\systemd\systemd-b
* 0000 Enter Setup [Firmware]
* 0001 NVMe: SAMSUNG MZALQ128HBHQ-000L2 [Auto]
* 0002 UEFI Shell [Firmware]
+ADD Linux Boot Manager Copy [pending copy]
* -RMV Ubuntu /boot/efi \EFI\ubuntu\shimx64.ef
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
uordto move it up or down in the boot order. - Type
tto relabel the boot entry. - Type
cto copy the boot entry with a new label. - Type
rto remove the boot entry. - And so forth.
- Type
- The entries with
*on the left are active boot entries; toggle whether active by typing*for the corresponding entries. - Special indicators:
+ADDshows pending copy operations (pressrto cancel before writing)-RMVshows entries marked for removal (pressrto undo before writing)
- Press
ESCkey to abandon any changes and reload the boot information. - When ready to write the changes to the BIOS, enter
w. - When writing the changes,
efibootdudedrops out of menu mode so you can verify the underlying commands, error codes, and error messages. - After you write changes, type
bto reboot, if you wish and the boot menu looks OK. - BTW, the top-line keys vary per context; e.g.:
wis only shown with pending changes, andbis only shown w/o pending changes.
Caveats - BIOSes Vary in What They Implement Correctly
- 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); copy an entry and later remove the old one as a safe workaround. - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file efibootdude-1.0.1.tar.gz.
File metadata
- Download URL: efibootdude-1.0.1.tar.gz
- Upload date:
- Size: 64.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90c56ca99c353cec8777d34efda5c3aba31d8f068851b5bd1403bf2ad988f040
|
|
| MD5 |
e09638f4b4267c77e080c7321607d42a
|
|
| BLAKE2b-256 |
ba605e8b8302597bbf8bdf4e0a4ce70c077f7796811309b9dcfbffdde927c4d1
|
File details
Details for the file efibootdude-1.0.1-py3-none-any.whl.
File metadata
- Download URL: efibootdude-1.0.1-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0f4bd1a74f4b34a6668848571698c77e5a2e0ee61a4406cebc7da0c07c933b8
|
|
| MD5 |
a170c8704aef169380429088c948515a
|
|
| BLAKE2b-256 |
32088521c9faf7a74e847ac543c3490743db5b862dbaa64c94f4197cf587030c
|