BootEntry#

class efiboot.BootEntry(label, loader, params)#

A boot entry in the efiboot configuration.

Parameters
  • label (str) – The label for this boot entry. Labels must be unique throughout the config file.

  • loader (str) – The EFI application to boot. The loader is interpreted as a path relative to the root of the EFI system partition. The path may use either forward- or backward-slashes as the directory separator.

  • params (List[str]) – Command-line parameters to be passed to the loader. Details about command-line parameters in the Linux kernel can be found at https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html

Methods

__init__

from_dict

Create a boot entry from a dictionary.

validate

Validate the boot entry.

Attributes

label

Title of the boot entry.

loader

EFI application to boot.

params

Command line params to pass.