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">
6 This file is part of systemd.
8 systemd is free software; you can redistribute it and/or modify it
9 under the terms of the GNU Lesser General Public License as published by
10 the Free Software Foundation; either version 2.1 of the License, or
11 (at your option) any later version.
13 systemd is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Lesser General Public License for more details.
18 You should have received a copy of the GNU Lesser General Public License
19 along with systemd; If not, see <http://www.gnu.org/licenses/>.
22 <refentry id="bootctl" conditional='ENABLE_EFI'
23 xmlns:xi="http://www.w3.org/2001/XInclude">
26 <title>bootctl</title>
27 <productname>systemd</productname>
31 <contrib>Developer</contrib>
32 <firstname>Kay</firstname>
33 <surname>Sievers</surname>
34 <email>kay@vrfy.org</email>
40 <refentrytitle>bootctl</refentrytitle>
41 <manvolnum>1</manvolnum>
45 <refname>bootctl</refname>
46 <refpurpose>Control the firmware and boot manager settings</refpurpose>
51 <command>bootctl</command>
52 <arg choice="opt" rep="repeat">OPTIONS</arg>
53 <arg choice="req">COMMAND</arg>
58 <title>Description</title>
60 <para><command>bootctl</command> may be used to
61 query or (in the future) change the firmware and boot
62 manager settings.</para>
64 <para>Firmware information is available only on EFI
67 <para>Currently, only the <citerefentry project='gummiboot'><refentrytitle>gummiboot</refentrytitle><manvolnum>8</manvolnum></citerefentry> boot
68 manager implements the required boot loader interface
69 to provide complete boot manager information.</para>
73 <title>Options</title>
75 <para>The following options are understood:</para>
78 <xi:include href="standard-options.xml" xpointer="help" />
79 <xi:include href="standard-options.xml" xpointer="version" />
82 <para>The following commands are understood:</para>
86 <term><command>status</command></term>
88 <listitem><para>Show firmware and boot
89 manager information about the system,
90 including secure boot mode status and
91 selected firmware entry (where
92 available).</para></listitem>
99 <title>Exit status</title>
101 <para>On success, 0 is returned, a non-zero failure
102 code otherwise.</para>
106 <title>See Also</title>
108 <ulink url="http://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface">Boot loader interface</ulink>,
109 <ulink url="http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec">Boot loader specification</ulink>,
110 <ulink url="http://www.freedesktop.org/wiki/Software/gummiboot/">gummiboot</ulink>