9.29. efibootmgr-18

9.29.1. Introduction to efibootmgr

The efibootmgr package provides tools and libraries to manipulate EFI variables.

Approximate build time: less than 0.1 SBU
Required disk space: 651.5 KB

efibootmgr Dependencies

Required

Section 9.28, “efivar-39” and Section 9.20, “Popt-1.19”

9.29.2. Installation of efibootmgr

Build efibootmgr with the following commands:

make EFIDIR=LFS EFI_LOADER=grubx64.efi
[Note]

Note

For Systemd-boot use the following build line:

make EFIDIR=LFS EFI_LOADER=systemd-bootx64.efi

Now, Install the package:

make install EFIDIR=LFS

9.29.3. Command Explanations

EFIDIR=LFS: This option specifies the distro's subdirectory name under /boot/efi/EFI. The building system of this package needs it to be set explicitly.

EFI_LOADER=grubx64.efi: This option specifies the name of the default EFI boot loader. It is set to match the EFI boot loader provided by GRUB.

9.29.4. Contents

Installed Programs: efibootdump and efibootmgr

Short Descriptions

efibootdump

is a tool to display individual UEFI boot options, from a file or an UEFI variable

efibootmgr

is a tool to manipulate the UEFI Boot Manager