bootctl
TLDR
Show firmware and bootloader information
$ bootctl
List available bootloader entries$ bootctl list
Set flag to boot into firmware on next boot$ sudo bootctl reboot-to-firmware true
Specify EFI system partition path$ bootctl --esp-path /boot/efi/
Install systemd-boot$ sudo bootctl install
Update systemd-boot$ sudo bootctl update
Remove systemd-boot$ sudo bootctl remove
Set default boot entry$ sudo bootctl set-default entry_id
SYNOPSIS
bootctl [OPTIONS] COMMAND
DESCRIPTION
bootctl controls EFI firmware boot settings and manages the systemd-boot boot loader. It can install, update, and remove systemd-boot, and control boot entries and firmware settings.
PARAMETERS
--esp-path PATH
Path to EFI system partition--boot-path PATH
Path to $BOOT partition-p, --print-esp-path
Print ESP path and exit-x, --print-boot-path
Print boot partition path and exit--no-variables
Do not touch EFI variables--graceful
Ignore errors for operations--make-entry-directory
Create entry directory during install
COMMANDS
status
Show firmware and bootloader status (default)list
List available boot entriesinstall
Install systemd-boot to EFI system partitionupdate
Update systemd-boot in EFI system partitionremove
Remove systemd-boot from EFI system partitionis-installed
Check if systemd-boot is installedrandom-seed
Initialize random seed in ESPsystemd-efi-options [STRING]
Get/set systemd.* EFI optionsreboot-to-firmware [BOOL]
Get/set reboot-to-firmware flagset-default ID
Set default boot entryset-oneshot ID
Set one-time boot entryset-timeout SECS
Set boot menu timeoutset-timeout-oneshot SECS
Set one-time boot menu timeout
CAVEATS
Requires an EFI system partition. The default ESP paths checked are /efi/, /boot/, and /boot/efi/. On non-EFI systems, bootctl has limited functionality.
HISTORY
bootctl is part of systemd, managing the systemd-boot EFI boot loader as an alternative to GRUB.
SEE ALSO
systemd-boot(7), kernel-install(8), loader.conf(5)


