LOADER.CONF(5)

  .SH "NAME" loader.conf - Configuration file for systemd-boot
  .SH "SYNOPSIS"
    .PP ESP/loader/loader.conf, ESP/loader/entries/*.conf

  .SH "DESCRIPTION"

    .PP systemd-boot(7) will read ESP/loader/loader.conf and any files with the .conf extension under ESP/loader/entries/ on the EFI system partition (ESP).
    .PP Each configuration file must consist of an option name, followed by whitespace, and the option value. # may be used to start a comment line. Empty and comment lines are ignored.
    .PP Boolean arguments may be written as yes/y/true/1 or no/n/false/0.

  .SH "OPTIONS"

    .PP The following configuration options in loader.conf are understood:

      .PP default

            A glob pattern to select the default entry. The default entry may be changed in the boot menu itself, in which case the name of the selected entry will be stored as an EFI variable, overriding this option.
          .RE
          .PP timeout

                How long the boot menu should be shown before the default entry is booted, in seconds. This may be changed in the boot menu itself and will be stored as an EFI variable in that case, overriding this option.

                If the timeout is disabled, the default entry will be booted immediately. The menu can be shown by pressing and holding a key before systemd-boot is launched.

              .RE
              .PP console-mode

                    This option configures the resolution of the console. Takes a number or one of the special values listed below. The following values may be used:

                      .PP 0

                              Standard UEFI 80x25 mode

                          .RE
                          .PP 1

                                  80x50 mode, not supported by all devices

                              .RE
                              .PP 2

                                      the first non-standard mode provided by the device firmware, if any

                                  .RE
                                  .PP auto

                                          Pick a suitable mode automatically using heuristics

                                      .RE
                                      .PP max

                                              Pick the highest-numbered available mode

                                          .RE
                                          .PP keep

                                                  Keep the mode selected by firmware (the default)

                                              .RE
                                            .sp

                                          .RE
                                          .PP editor

                                                Takes a boolean argument. Enable (the default) or disable the editor. The editor should be disabled if the machine can be accessed by unauthorized persons.
                                              .RE
                                              .PP auto-entries

                                                    Takes a boolean argument. Enable (the default) or disable entries for other boot entries found on the boot partition. In particular, this may be useful when loader entries are created to show replacement descriptions for those entries.
                                                  .RE
                                                  .PP auto-firmware

                                                        Takes a boolean argument. Enable (the default) or disable the "Reboot into firmware" entry.
                                                      .RE

                                                  .SH "EXAMPLE"

                                                    # /boot/efi/loader/loader.conf
                                                    timeout 0
                                                    default 01234567890abcdef1234567890abdf0-*
                                                    editor no

                                                    .PP The menu will not be shown by default (the menu can still be shown by pressing and holding a key during boot). One of the entries with files with a name starting with 01234567890abcdef1234567890abdf0- will be selected by default. If more than one entry matches, the one with the highest priority will be selected (generally the one with the highest version number). The editor will be disabled, so it is not possible to alter the kernel command line.

                                                  .SH "SEE ALSO"

                                                      .PP systemd-boot(7), bootctl(1)