BOOTCTL(1)

  .SH "NAME" bootctl - Control the firmware and boot manager settings
  .SH "SYNOPSIS"
    .HP u
      bootctl [OPTIONS...] status

    .HP u
      bootctl [OPTIONS...] list

    .HP u
      bootctl [OPTIONS...] update

    .HP u
      bootctl [OPTIONS...] install

    .HP u
      bootctl [OPTIONS...] remove

  .SH "DESCRIPTION"

    .PP bootctl checks, updates, installs or removes the boot loader from the current system.
    .PP bootctl status checks and prints the currently installed versions of the boot loader binaries and all current EFI boot variables.
    .PP bootctl list displays all configured boot loader entries.
    .PP bootctl update updates all installed versions of systemd-boot, if the current version is newer than the version installed in the EFI system partition. This also includes the EFI default/fallback loader at /EFI/BOOT/BOOT*.EFI. A systemd-boot entry in the EFI boot variables is created if there is no current entry. The created entry will be added to the end of the boot order list.
    .PP bootctl install installs systemd-boot into the EFI system partition. A copy of systemd-boot will be stored as the EFI default/fallback loader at /EFI/BOOT/BOOT*.EFI. A systemd-boot entry in the EFI boot variables is created and added to the top of the boot order list.
    .PP bootctl remove removes all installed versions of systemd-boot from the EFI system partition, and removes systemd-boot from the EFI boot variables.
    .PP If no command is passed, status is implied.

  .SH "OPTIONS"

    .PP The following options are understood:

      .PP -h, --help

          Print a short help text and exit.
      .RE
          .PP --version

              Print a short version string and exit.

          .RE
              .PP --path=

                    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.
                  .RE
                  .PP -p, --print-path

                        This option modifies the behaviour of status. Just print the path to the EFI System Partition (ESP) to standard output and exit.
                      .RE
                      .PP --no-variables

                            Do not touch the EFI boot variables.
                          .RE

                      .SH "EXIT STATUS"

                        .PP On success, 0 is returned, a non-zero failure code otherwise.

                      .SH "SEE ALSO"

                        .PP Boot loader specification[1] systemd boot loader interface[2]

NOTES

1.  Boot loader specification
    https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec

2.  systemd boot loader interface
    https://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface