1LOADER.CONF(5)                    loader.conf                   LOADER.CONF(5)
2
3
4

NAME

6       loader.conf - Configuration file for systemd-boot
7

SYNOPSIS

9       ESP/loader/loader.conf, ESP/loader/entries/*.conf
10

DESCRIPTION

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

OPTIONS

24       The following configuration options in loader.conf are understood:
25
26       default
27           A glob pattern to select the default entry. The default entry may
28           be changed in the boot menu itself, in which case the name of the
29           selected entry will be stored as an EFI variable, overriding this
30           option.
31
32       timeout
33           How long the boot menu should be shown before the default entry is
34           booted, in seconds. This may be changed in the boot menu itself and
35           will be stored as an EFI variable in that case, overriding this
36           option.
37
38           If the timeout is disabled, the default entry will be booted
39           immediately. The menu can be shown by pressing and holding a key
40           before systemd-boot is launched.
41
42       console-mode
43           This option configures the resolution of the console. Takes a
44           number or one of the special values listed below. The following
45           values may be used:
46
47           0
48               Standard UEFI 80x25 mode
49
50           1
51               80x50 mode, not supported by all devices
52
53           2
54               the first non-standard mode provided by the device firmware, if
55               any
56
57           auto
58               Pick a suitable mode automatically using heuristics
59
60           max
61               Pick the highest-numbered available mode
62
63           keep
64               Keep the mode selected by firmware (the default)
65
66       editor
67           Takes a boolean argument. Enable (the default) or disable the
68           editor. The editor should be disabled if the machine can be
69           accessed by unauthorized persons.
70
71       auto-entries
72           Takes a boolean argument. Enable (the default) or disable entries
73           for other boot entries found on the boot partition. In particular,
74           this may be useful when loader entries are created to show
75           replacement descriptions for those entries.
76
77       auto-firmware
78           Takes a boolean argument. Enable (the default) or disable the
79           "Reboot into firmware" entry.
80

EXAMPLE

82           # /boot/efi/loader/loader.conf
83           timeout 0
84           default 01234567890abcdef1234567890abdf0-*
85           editor no
86
87
88       The menu will not be shown by default (the menu can still be shown by
89       pressing and holding a key during boot). One of the entries with files
90       with a name starting with "01234567890abcdef1234567890abdf0-" will be
91       selected by default. If more than one entry matches, the one with the
92       highest priority will be selected (generally the one with the highest
93       version number). The editor will be disabled, so it is not possible to
94       alter the kernel command line.
95

SEE ALSO

97       systemd-boot(7), bootctl(1)
98
99
100
101systemd 241                                                     LOADER.CONF(5)
Impressum