#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 5. File Systems and Disk Management

- Prev

  efivar-39

- Next

  GRUB-2.12 for EFI

- Up
- Home

# efibootmgr-18

## Introduction to efibootmgr

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

This package is known to build and work properly using an LFS 12.3 platform.

### Package Information

- Download (HTTP): https://github.com/rhboot/efibootmgr/archive/18/efibootmgr-18.tar.gz

- Download MD5 sum: e170147da25e1d5f72721ffc46fe4e06

- Download size: 48 KB

- Estimated disk space required: 1.1 MB

- Estimated build time: less than 0.1 SBU

### efibootmgr Dependencies

#### Required

efivar-39 and popt-1.19

## Installation of efibootmgr

Build efibootmgr with the following commands:

    make EFIDIR=LFS EFI_LOADER=grubx64.efi

This package does not have a test suite.

Now, as the `root` user:

    make install EFIDIR=LFS

## 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.

## 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

- Prev

  efivar-39

- Next

  GRUB-2.12 for EFI

- Up
- Home