1 <?xml version='
1.0'
?> <!--*-nxml-*-->
2 <!DOCTYPE refentry PUBLIC
"-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
5 <!-- SPDX-License-Identifier: LGPL-2.1+ -->
7 <refentry id=
"systemd-boot" conditional='ENABLE_EFI'
8 xmlns:
xi=
"http://www.w3.org/2001/XInclude">
10 <title>systemd-boot
</title>
11 <productname>systemd
</productname>
15 <refentrytitle>systemd-boot
</refentrytitle>
16 <manvolnum>7</manvolnum>
20 <refname>systemd-boot
</refname>
21 <refname>sd-boot
</refname>
22 <refpurpose>A simple UEFI boot manager
</refpurpose>
26 <title>Description
</title>
28 <para><command>systemd-boot
</command> or
<command>sd-boot
</command> is a simple
29 UEFI boot manager, previously known as
<command>gummiboot
</command>. It provides
30 a graphical menu to select the entry to boot and an editor for the kernel command
31 line. systemd-boot is only useful on machines using UEFI.
34 <para>systemd-boot loads information from the EFI system partition (ESP), usually
35 mounted at
<filename>/boot
</filename>,
<filename>/efi
</filename>, or
36 <filename>/boot/efi
</filename>. Configuration file fragments, kernels, initrds,
37 other EFI images need to reside on the ESP. Linux kernels must be built with
38 <option>CONFIG_EFI_STUB
</option> to be able to be directly executed as an EFI
39 image. systemd-boot will automatically list other boot entries registered as EFI boot
40 variables, and a list of kernels from configuration files following the
<ulink
41 url=
"https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec">Boot Loader
42 Specification
</ulink> located under
<filename>/loader/entries/
</filename> on the
45 <para><citerefentry><refentrytitle>kernel-install
</refentrytitle><manvolnum>8</manvolnum></citerefentry>
46 may be used to copy kernel images onto the ESP and to generate entries compliant
47 with the Boot Loader Specification.
48 <citerefentry><refentrytitle>bootctl
</refentrytitle><manvolnum>1</manvolnum></citerefentry>
49 may be used from a running system to locate the ESP, list available entries, and
50 install systemd-boot itself.
</para>
52 <para>systemd-boot will provide information about the time spent in UEFI firmware
54 <ulink url=
"https://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface">Boot Loader Interface
</ulink>.
55 This information can be displayed using
56 <citerefentry><refentrytitle>systemd-analyze
</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
61 <title>Configuration
</title>
63 <para>systemd-boot reads configuration like the timeout and default entry from
64 <filename>/loader/loader.conf
</filename> on the ESP and from EFI variables. See
65 <citerefentry><refentrytitle>loader.conf
</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
70 <title>Key bindings
</title>
71 <para>The following keys may be used in the boot menu:
</para>
83 <listitem><para>Navigate up/down in the entry list
</para></listitem>
87 <term>↵ (Enter)
</term>
88 <listitem><para>Boot selected entry
</para></listitem>
93 <listitem><para>Make selected entry the default
</para></listitem>
98 <listitem><para>Edit the kernel command line for selected entry
</para></listitem>
104 <listitem><para>Increase the timeout before default entry is booted
</para></listitem>
110 <listitem><para>Decrease the timeout
</para></listitem>
115 <listitem><para>Show systemd-boot, UEFI, and firmware versions
</para></listitem>
120 <listitem><para>Print status
</para></listitem>
125 <listitem><para>Quit
</para></listitem>
131 <listitem><para>Show a help screen
</para></listitem>
135 <term>Ctrl + l
</term>
136 <listitem><para>Reprint the screen
</para></listitem>
140 <para>The following keys may be used during bootup or in the boot menu to
141 directly boot a specific entry:
</para>
146 <listitem><para>Linux
</para></listitem>
151 <listitem><para>Windows
</para></listitem>
156 <listitem><para>OS X
</para></listitem>
161 <listitem><para>EFI shell
</para></listitem>
174 <listitem><para>Entry number
1 ..
9</para></listitem>
178 <para>In the editor, most keys simply insert themselves, but the following keys
179 may be used to perform additional actions:
</para>
183 <term>← (Left)
</term>
184 <term>→ (Right)
</term>
187 <listitem><para>Navigate left/right
</para></listitem>
192 <listitem><para>Abort the edit and quit the editor
</para></listitem>
196 <term>Ctrl + k
</term>
197 <listitem><para>Clear the command line
</para></listitem>
201 <term>Ctrl + w
</term>
202 <term>Alt + Backspace
</term>
203 <listitem><para>Delete word backwards
</para></listitem>
207 <term>Alt + d
</term>
208 <listitem><para>Delete word forwards
</para></listitem>
212 <term>↵ (Enter)
</term>
213 <listitem><para>Boot entry with the edited command line
</para></listitem>
217 <para>Note that unless configured otherwise in the UEFI firmware, systemd-boot will
218 use the US keyboard layout, so key labels might not match for keys like +/-.
223 <title>See Also
</title>
225 <citerefentry><refentrytitle>bootctl
</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
226 <citerefentry><refentrytitle>loader.conf
</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
227 <ulink url=
"https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec">Boot Loader Specification
</ulink>,
228 <ulink url=
"https://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface">Boot Loader Interface
</ulink>,
229 <ulink url=
"https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/">upstream wiki page
</ulink>