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.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.Shows all available boot loader entries implementing the Boot Loader
Specification, as well as any other entries discovered or automatically generated by the boot
loader.IDIDSets the default boot loader entry. Takes a single boot loader entry ID string as argument. The
command will set the default entry only for the next boot, the
will set it persistently for all future boots.Exit statusOn success, 0 is returned, a non-zero failure code otherwise.EnvironmentIf $SYSTEMD_RELAX_ESP_CHECKS=1 is set the validation checks for the ESP are relaxed, and
the path specified with may refer to any kind of file system on any kind of
partition.See Alsosystemd-boot7,
Boot Loader Specification,
Boot Loader Interface