bootctl

Control EFI firmware boot settings and manage boot loader. More information: <https://manned.org/bootctl>.

Install

All systems
curl cmd.cat/bootctl.sh
Debian Debian
apt-get install systemd
Ubuntu
apt-get install systemd
Arch Arch Linux
pacman -S systemd
image/svg+xml Kali Linux
apt-get install systemd
CentOS
yum install systemd
Fedora
dnf install systemd-udev
Windows (WSL2)
sudo apt-get update sudo apt-get install systemd
Raspbian
apt-get install systemd

Control EFI firmware boot settings and manage boot loader. More information: <https://manned.org/bootctl>.

  • Show information about the system firmware and the bootloaders:
    bootctl status
  • Show all available bootloader entries:
    bootctl list
  • 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
  • Specify the path to the EFI system partition (defaults to `/efi/`, `/boot/` or `/boot/efi`):
    bootctl --esp-path=/path/to/efi_system_partition/
  • Install `systemd-boot` into the EFI system partition:
    sudo bootctl install
  • Remove all installed versions of `systemd-boot` from the EFI system partition:
    sudo bootctl remove

© tl;dr; authors and contributors