summaryrefslogtreecommitdiff
path: root/man/kernel-command-line.xml
blob: 7247be00fcd149abdd54bb6c90e125a74aa0f504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<?xml version='1.0'?> <!--*-nxml-*-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
        "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

<!--
  This file is part of systemd.

  Copyright 2012 Lennart Poettering

  systemd is free software; you can redistribute it and/or modify it
  under the terms of the GNU Lesser General Public License as published by
  the Free Software Foundation; either version 2.1 of the License, or
  (at your option) any later version.

  systemd is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public License
  along with systemd; If not, see <http://www.gnu.org/licenses/>.
-->

<refentry id="kernel-command-line">

        <refentryinfo>
                <title>kernel-command-line</title>
                <productname>systemd</productname>

                <authorgroup>
                        <author>
                                <contrib>Developer</contrib>
                                <firstname>Lennart</firstname>
                                <surname>Poettering</surname>
                                <email>lennart@poettering.net</email>
                        </author>
                </authorgroup>
        </refentryinfo>

        <refmeta>
                <refentrytitle>kernel-command-line</refentrytitle>
                <manvolnum>7</manvolnum>
        </refmeta>

        <refnamediv>
                <refname>kernel-command-line</refname>
                <refpurpose>Kernel Command Line Parameters</refpurpose>
        </refnamediv>

        <refsynopsisdiv>
                <para><filename>/proc/cmdline</filename></para>
        </refsynopsisdiv>

        <refsect1>
                <title>Description</title>

                <para>The kernel, the initial RAM disk (initrd) and
                basic userspace functionality may be configured at boot via
                kernel command line arguments.</para>

                <para>For command line parameters understood by the
                kernel please see <ulink
                url="https://www.kernel.org/doc/Documentation/kernel-parameters.txt"><filename>kernel-parameters.txt</filename></ulink>.</para>

                <para>For command line paramaters understood by the
                initial RAM disk, please see
                <citerefentry><refentrytitle>dracut.cmdline</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>

        </refsect1>

        <refsect1>
                <title>Core OS Command Line Arguments</title>

                <variablelist>
                        <varlistentry>
                                <term><varname>systemd.unit=</varname></term>
                                <term><varname>rd.systemd.unit=</varname></term>
                                <term><varname>systemd.dump_core=</varname></term>
                                <term><varname>systemd.crash_shell=</varname></term>
                                <term><varname>systemd.crash_chvt=</varname></term>
                                <term><varname>systemd.confirm_spawn=</varname></term>
                                <term><varname>systemd.show_status=</varname></term>
                                <term><varname>systemd.sysv_console=</varname></term>
                                <term><varname>systemd.log_target=</varname></term>
                                <term><varname>systemd.log_level=</varname></term>
                                <term><varname>systemd.log_color=</varname></term>
                                <term><varname>systemd.log_location=</varname></term>
                                <term><varname>systemd.default_standard_output=</varname></term>
                                <term><varname>systemd.default_standard_error=</varname></term>
                                <term><varname>systemd.setenv=</varname></term>
                                <listitem>
                                        <para>Parameters understood by
                                        the system and service manager
                                        to control system behaviour. For details see
                                        <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para>
                                </listitem>
                        </varlistentry>

                        <varlistentry>
                                <term><varname>quiet</varname></term>
                                <listitem>
                                        <para>Parameter understood by
                                        both the kernel and the system
                                        and service manager to control
                                        console log verbosity. For
                                        details see
                                        <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para>
                                </listitem>
                        </varlistentry>

                        <varlistentry>
                                <term><varname>emergency</varname></term>
                                <term><varname>single</varname></term>
                                <term><varname>s</varname></term>
                                <term><varname>S</varname></term>
                                <term><varname>1</varname></term>
                                <term><varname>2</varname></term>
                                <term><varname>3</varname></term>
                                <term><varname>4</varname></term>
                                <term><varname>5</varname></term>
                                <listitem>
                                        <para>Parameters understood by
                                        the system and service
                                        manager, as compatibility
                                        options. For details see
                                        <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para>
                                </listitem>
                        </varlistentry>

                        <varlistentry>
                                <term><varname>locale.LANG=</varname></term>
                                <term><varname>locale.LANGUAGE=</varname></term>
                                <term><varname>locale.LC_CTYPE=</varname></term>
                                <term><varname>locale.LC_NUMERIC=</varname></term>
                                <term><varname>locale.LC_TIME=</varname></term>
                                <term><varname>locale.LC_COLLATE=</varname></term>
                                <term><varname>locale.LC_MONETARY=</varname></term>
                                <term><varname>locale.LC_MESSAGES=</varname></term>
                                <term><varname>locale.LC_PAPER=</varname></term>
                                <term><varname>locale.LC_NAME=</varname></term>
                                <term><varname>locale.LC_ADDRESS=</varname></term>
                                <term><varname>locale.LC_TELEPHONE=</varname></term>
                                <term><varname>locale.LC_MEASUREMENT=</varname></term>
                                <term><varname>locale.LC_IDENTIFICATION=</varname></term>
                                <listitem>
                                        <para>Parameters understood by
                                        the system and service manager
                                        to control locale and language
                                        settings. For details see
                                        <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para>
                                </listitem>
                        </varlistentry>

                        <varlistentry>
                                <term><varname>fsck.mode=</varname></term>

                                <listitem>
                                        <para>Parameter understood by
                                        the file system checker
                                        services. For details see
                                        <citerefentry><refentrytitle>fsck-root.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
                                </listitem>
                        </varlistentry>

                        <varlistentry>
                                <term><varname>quotacheck.mode=</varname></term>

                                <listitem>
                                        <para>Parameter understood by
                                        the file quota checker
                                        service. For details see
                                        <citerefentry><refentrytitle>quotacheck.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
                                </listitem>
                        </varlistentry>

                        <varlistentry>
                                <term><varname>systemd.journald.forward_to_syslog=</varname></term>
                                <term><varname>systemd.journald.forward_to_kmsg=</varname></term>
                                <term><varname>systemd.journald.forward_to_console=</varname></term>

                                <listitem>
                                        <para>Parameters understood by
                                        the journal service. For
                                        details see
                                        <citerefentry><refentrytitle>systemd-journald.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
                                </listitem>
                        </varlistentry>

                        <varlistentry>
                                <term><varname>vconsole.keymap=</varname></term>
                                <term><varname>vconsole.keymap.toggle=</varname></term>
                                <term><varname>vconsole.font=</varname></term>
                                <term><varname>vconsole.font.map=</varname></term>
                                <term><varname>vconsole.font.unimap=</varname></term>

                                <listitem>
                                        <para>Parameters understood by
                                        the virtual console setup logic. For
                                        details see
                                        <citerefentry><refentrytitle>systemd-vconsole-setup.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
                                </listitem>
                        </varlistentry>

                        <varlistentry>
                                <term><varname>udev.log-priority=</varname></term>
                                <term><varname>udev.children-max=</varname></term>
                                <term><varname>udev.udev.exec-delay=</varname></term>
                                <term><varname>rd.udev.log-priority=</varname></term>
                                <term><varname>rd.udev.children-max=</varname></term>
                                <term><varname>rd.udev.udev.exec-delay=</varname></term>

                                <listitem>
                                        <para>Parameters understood by
                                        the device event managing daemon. For
                                        details see
                                        <citerefentry><refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
                                </listitem>
                        </varlistentry>
                </variablelist>


        </refsect1>

        <refsect1>
                  <title>See Also</title>
                  <para>
                          <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
                          <citerefentry><refentrytitle>dracut.cmdline</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
                          <citerefentry><refentrytitle>fsck-root.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
                          <citerefentry><refentrytitle>quotacheck.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
                          <citerefentry><refentrytitle>systemd-journald.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
                          <citerefentry><refentrytitle>systemd-vconsole-setup.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
                          <citerefentry><refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
                  </para>
        </refsect1>

</refentry>