bootctlsystemdbootctl1bootctlControl the firmware and boot manager settingsbootctlOPTIONSCOMMANDDescriptionbootctl can check the EFI boot loader status, list available boot loaders and boot loader
entries, and install, update, or remove the
systemd-boot7 boot loader on the
current system.OptionsThe following options are understood:Path to the EFI System Partition (ESP). If not specified, /efi,
/boot, and /boot/efi are checked in turn. It is recommended to mount
the ESP to /boot, if possible.This option modifies the behaviour of status.
Just print the path to the EFI System Partition (ESP) to standard output and
exit.Do not touch the firmware's boot loader list stored in EFI variables.CommandsShows brief information about the system firmware, the boot loader that was used to boot the
system, the boot loaders currently available in the ESP, the boot loaders listed in the firmware's list of boot
loaders and the current default boot loader entry. If no command is specified, this is the implied
default.Shows all available boot loader entries implementing the Boot Loader
Specification.Installs systemd-boot into the EFI system partition. A copy of systemd-boot
will be stored as the EFI default/fallback loader at
ESP/EFI/BOOT/BOOT*.EFI. The boot loader is then added to the
top of the firmware's boot loader list.Updates all installed versions of
systemd-boot7, if the
available version is newer than the version installed in the EFI system partition. This also includes the EFI
default/fallback loader at ESP/EFI/BOOT/BOOT*.EFI. The boot
loader is then added to end of the firmware's boot loader list if missing.Removes all installed versions of systemd-boot from the EFI system partition
and the firmware's boot loader list.Exit statusOn success, 0 is returned, a non-zero failure code otherwise.See Alsosystemd-boot7,
Boot Loader Specification,
Boot Loader Interface