Control EFI firmware boot settings and manage boot loader.
# To show information about the system firmware and the bootloaders:
sudo bootctl status
# To set a flag to boot into the system firmware on the next boot (similar to 'sudo systemctl reboot --firmware-setup'):
sudo bootctl reboot-to-firmware true
# To specify the path to the EFI system partition (defaults to '/efi/', '/boot/' or '/boot/efi'):
sudo bootctl --esp-path=</path/to/efi_system_partition/>
# To show all available bootloader entries:
sudo bootctl list
# To install 'systemd-boot' into the EFI system partition:
sudo bootctl install
# To remove all installed versions of 'systemd-boot' from the EFI system partition:
sudo bootctl remove