bootctl
Control EFI firmware boot settings and manage boot loader. tldr-pages
On Linux
Linux
Show information about the system firmware and the bootloaders
bootctlIdentifyShow all available bootloader entries
bootctl listIdentifySet a boot entry as the default to boot to
sudo bootctl set-default entry_idIdentifySet a flag to boot into the system firmware on the next boot (similar to sudo systemctl reboot --firmware-setup)
sudo bootctl reboot-to-firmware trueIdentifySpecify the path to the EFI system partition (defaults to /efi/, /boot/, or /boot/efi)
bootctl --esp-path /path/to/efi_system_partition/IdentifyInstall systemd-boot into the EFI system partition
sudo bootctl installIdentifyRemove all installed versions of systemd-boot from the EFI system partition
sudo bootctl removeIdentify