https://wiki.archlinux.org/title/systemd-boot
The loader configuration is stored in the file *esp*/loader/loader.conf
. See loader.conf(5) § OPTIONS for details.
A loader configuration example is provided below:
esp/loader/loader.conf
default arch.conf timeout 4 console-mode max editor no
Tip:
- systemd-boot does not accept tabs for indentation, use spaces instead.
default
andtimeout
can be changed in the boot menu itself and changes will be stored as UEFI variablesLoaderEntryDefault
andLoaderConfigTimeout
, overriding these options.bootctl set-default ""
andbootctl set-timeout ""
can be used to clear the UEFI variables overriding thedefault
andtimeout
options, respectively.- If you have set
timeout 0
, the boot menu can be accessed by pressingSpace
. - A basic loader configuration file is located at
/usr/share/systemd/bootctl/loader.conf
. - If the bootloader (during the entry selection) appears distorted/uses the wrong resolution you can try to set the
console-mode
toauto
(uses heuristics to select the best resolution),keep
(keeps the firmware provided resolution) or2
(tries to select the first non-UEFI-standard resolution).