efibootdump

UEFI boot entry decoder

TLDR

Dump boot entries from file
$ efibootdump -f [/sys/firmware/efi/efivars/Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c]
Dump a boot entry by variable name
$ efibootdump [Boot0000]

SYNOPSIS

efibootdump [-f|--file] variable|file...

DESCRIPTION

efibootdump decodes EFI load options such as Boot0000 or BootOrder and prints them in human-readable form: the description, attributes, and the device path of the loader.It accepts either the name of a boot variable, which it reads from the running firmware, or a file containing the raw variable data when -f is given. This makes it useful both for inspecting the live boot configuration and for examining a variable dumped from another machine.

PARAMETERS

variable|file

The boot variable name, or a file path when -f is used.
-f, --file
Treat the arguments as files containing raw variable data rather than variable names.

INSTALL

sudo apt install efibootmgr
sudo dnf install efibootmgr
sudo pacman -S efibootmgr
sudo apk add efibootmgr
sudo zypper install efibootmgr
nix profile install nixpkgs#efibootmgr

CAVEATS

Only works on UEFI systems, and reading live variables requires efivarfs to be mounted at /sys/firmware/efi/efivars. Part of the efivar package, not efibootmgr, so it may need to be installed separately. Root privileges are usually needed to read the raw variable files.

SEE ALSO

efibootmgr(8), efivar(1)

RESOURCES

Source code