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
81       random-seed-mode
82           Takes one of "off", "with-system-token" and "always". If "off" no
83           random seed data is read off the ESP, nor passed to the OS. If
84           "with-system-token" (the default) systemd-boot will read a random
85           seed from the ESP (from the file /loader/random-seed) only if the
86           LoaderSystemToken EFI variable is set, and then derive the random
87           seed to pass to the OS from the combination. If "always" the boot
88           loader will do so even if LoaderSystemToken is not set. This mode
89           is useful in environments where protection against OS image reuse
90           is not a concern, and the random seed shall be used even with no
91           further setup in place. User bootctl random-seed to initialize both
92           the random seed file in the ESP and the system token EFI variable.
93
94           See Random Seeds[1] for further information.
95

EXAMPLE

97           # /boot/efi/loader/loader.conf
98           timeout 0
99           default 01234567890abcdef1234567890abdf0-*
100           editor no
101
102
103       The menu will not be shown by default (the menu can still be shown by
104       pressing and holding a key during boot). One of the entries with files
105       with a name starting with "01234567890abcdef1234567890abdf0-" will be
106       selected by default. If more than one entry matches, the one with the
107       highest priority will be selected (generally the one with the highest
108       version number). The editor will be disabled, so it is not possible to
109       alter the kernel command line.
110

SEE ALSO

112       systemd-boot(7), bootctl(1)
113

NOTES

115        1. Random Seeds
116           https://systemd.io/RANDOM_SEEDS
117
118
119
120systemd 245                                                     LOADER.CONF(5)
Impressum