]> git.ipfire.org Git - thirdparty/dracut.git/blame - dracut.kernel.7.xml
NEWS: fixed typo
[thirdparty/dracut.git] / dracut.kernel.7.xml
CommitLineData
609d00c4 1<?xml version='1.0' encoding='UTF-8'?>
d350ae69 2<!-- This document was created with Syntext Serna Free. --><!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" []>
cdc8d9c4
HH
3<refentry>
4 <refentryinfo>
5 <title>dracut.kernel</title>
6 <productname>dracut</productname>
7 <authorgroup>
8 <author>
3eccdb52
HH
9 <contrib>Developer</contrib>
10 <firstname>Harald</firstname>
11 <surname>Hoyer</surname>
12 <email>harald@redhat.com</email>
cdc8d9c4
HH
13 </author>
14 </authorgroup>
15 </refentryinfo>
16 <refmeta>
17 <refentrytitle>dracut.kernel</refentrytitle>
18 <manvolnum>7</manvolnum>
19 <refmiscinfo class="version"/>
20 </refmeta>
21 <refnamediv>
22 <refname>dracut.kernel</refname>
23 <refpurpose>dracut kernel command line options</refpurpose>
24 </refnamediv>
25 <refsect1>
26 <title>Description</title>
27 <para>The root filesystem used by the kernel is specified in the boot configuration
28file, as always. The traditional <emphasis remap="B">root=/dev/hda1</emphasis> style device
29specification is allowed. If a label is used, as in <emphasis remap="B">root=LABEL=rootPart</emphasis>
30the initramfs will search all available devices for an ext2 or ext3 filesystem
31with the appropriate label, and mount that device as the root filesystem.
32<emphasis remap="B">root=UUID=uuidnumber</emphasis> will mount the partition with that UUID as the
33root filesystem.</para>
34 <refsect2>
35 <title>Standard</title>
36 <variablelist>
37 <varlistentry>
38 <term>
3eccdb52 39 <envar>init=<replaceable>&lt;path to real init&gt;</replaceable></envar>
cdc8d9c4
HH
40 </term>
41 <listitem>
42 <para> </para>
43 </listitem>
44 </varlistentry>
45 <varlistentry>
46 <term>
47 <envar>root=<replaceable>&lt;path to blockdevice&gt;</replaceable></envar>
48 </term>
49 <listitem>
50 <para>specify blockdevice to use as root filesystem.
3eccdb52
HH
51 e.g.
52 <programlisting>
53root=/dev/sda1
54root=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:1:0-part1
55 </programlisting></para>
cdc8d9c4
HH
56 </listitem>
57 </varlistentry>
58 <varlistentry>
59 <term>
60 <envar>rootfstype=<replaceable>&lt;filesystem type&gt;</replaceable></envar>
61 </term>
62 <listitem>
63 <para>&quot;auto&quot; if not specified, e.g. rootfstype=ext3</para>
64 </listitem>
65 </varlistentry>
66 <varlistentry>
67 <term>
68 <envar>rootflags=<replaceable>&lt;mount options&gt;</replaceable></envar>
69 </term>
70 <listitem>
71 <para>specify additional mount options for the root filesystem. If not set, /etc/fstab
72of the real root will be parsed for special mount options and mounted
73accordingly.</para>
74 </listitem>
75 </varlistentry>
76 <varlistentry>
77 <term>
78 <envar>rd_NO_FSTAB</envar>
79 </term>
80 <listitem>
81 <para>do not honor special mount options for the root filesystem found in
82/etc/fstab of the real root.</para>
83 </listitem>
84 </varlistentry>
85 </variablelist>
86 </refsect2>
87 <refsect2>
88 <title>Misc</title>
89 <variablelist>
90 <varlistentry>
91 <term>
92 <envar>rdblacklist=<replaceable>&lt;drivername&gt;</replaceable></envar>
93 </term>
94 <listitem>
95 <para>do not load kernel module &lt;drivername&gt;
96This parameter can be specified multiple times.</para>
97 </listitem>
98 </varlistentry>
99 <varlistentry>
100 <term>
101 <envar>rdloaddriver=<replaceable>&lt;drivername&gt;</replaceable></envar>
102 </term>
103 <listitem>
104 <para>force loading kernel module &lt;drivername&gt;
105This parameter can be specified multiple times.</para>
106 </listitem>
107 </varlistentry>
108 </variablelist>
109 </refsect2>
110 <refsect2>
111 <title>Debug</title>
112 <variablelist>
113 <varlistentry>
114 <term>
115 <envar>rdinfo</envar>
116 </term>
117 <listitem>
118 <para>print informational output though &quot;quiet&quot; is set</para>
119 </listitem>
120 </varlistentry>
121 <varlistentry>
122 <term>
123 <envar>rdshell</envar>
124 </term>
125 <listitem>
126 <para>allow dropping to a shell, if root mounting fails</para>
127 </listitem>
128 </varlistentry>
129 <varlistentry>
130 <term>
131 <envar>rdinitdebug</envar>
132 </term>
133 <listitem>
134 <para>set -x for the dracut shell and logs to dmesg, console and /init.log</para>
135 </listitem>
136 </varlistentry>
137 <varlistentry>
138 <term>
139 <envar>rdbreak</envar>
140 </term>
141 <listitem>
142 <para>drop to a shell at the end</para>
143 </listitem>
144 </varlistentry>
145 <varlistentry>
3eccdb52 146 <term><envar>rdbreak=</envar>{cmdline|pre-udev|pre-trigger|initqueue|pre-mount|mount|pre-pivot} </term>
cdc8d9c4
HH
147 <listitem>
148 <para>drop to a shell on defined breakpoint</para>
149 </listitem>
150 </varlistentry>
151 <varlistentry>
152 <term>
153 <envar>rdudevinfo</envar>
154 </term>
155 <listitem>
156 <para>set udev to loglevel info</para>
157 </listitem>
158 </varlistentry>
159 <varlistentry>
160 <term>
161 <envar>rdudevdebug</envar>
162 </term>
163 <listitem>
164 <para>set udev to loglevel debug</para>
165 </listitem>
166 </varlistentry>
167 </variablelist>
168 </refsect2>
169 <refsect2>
170 <title>I18N</title>
cdc8d9c4
HH
171 <variablelist>
172 <varlistentry>
173 <term>
9b3d462b
174 <envar>KEYMAP=</envar>
175 <replaceable>&lt;keymap base file name&gt;</replaceable>
cdc8d9c4
HH
176 </term>
177 <listitem>
9b3d462b 178 <para>keyboard translation table loaded by loadkeys; taken from keymaps directory; will be written to /etc/sysconfig/keyboard in the initramfs, e.g.: <programlisting>KEYMAP=de-latin1-nodeadkeys</programlisting></para>
cdc8d9c4
HH
179 </listitem>
180 </varlistentry>
181 <varlistentry>
182 <term>
9b3d462b
183 <envar>EXT_KEYMAPS=</envar>
184 <replaceable>&lt;list of keymap base file names&gt;</replaceable>
cdc8d9c4
HH
185 </term>
186 <listitem>
9b3d462b 187 <para>list of extra keymaps to bo loaded (sep. by space); will be written to /etc/sysconfig/keyboard in the initramfs</para>
cdc8d9c4
HH
188 </listitem>
189 </varlistentry>
190 <varlistentry>
3eccdb52 191 <term>
9b3d462b
192 <envar>UNICODE=</envar>
193 <replaceable>&lt;1|0&gt;</replaceable>
3eccdb52 194 </term>
cdc8d9c4 195 <listitem>
9b3d462b 196 <para>boolean, indicating UTF-8 mode; will be written to /etc/sysconfig/i18n in the initramfs</para>
cdc8d9c4
HH
197 </listitem>
198 </varlistentry>
199 <varlistentry>
3eccdb52 200 <term>
9b3d462b
201 <envar>SYSFONT=</envar>
202 <replaceable>&lt;font base file name&gt;</replaceable>
3eccdb52 203 </term>
cdc8d9c4 204 <listitem>
9b3d462b 205 <para>console font; taken from consolefonts directory; will be written to /etc/sysconfig/i18n in the initramfs; e.g.: <programlisting>SYSFONT=LatArCyrHeb-16</programlisting></para>
cdc8d9c4
HH
206 </listitem>
207 </varlistentry>
208 <varlistentry>
209 <term>
9b3d462b
210 <envar>CONTRANS=</envar>
211 <replaceable>&lt;console map base file name&gt;</replaceable>
cdc8d9c4
HH
212 </term>
213 <listitem>
c865ecbf 214 <para>see description of &apos;-m&apos; parameter in setfont manual; taken from consoletrans directory; will be written to /etc/sysconfig/i18n in the initramfs</para>
cdc8d9c4
HH
215 </listitem>
216 </varlistentry>
217 <varlistentry>
218 <term>
9b3d462b
219 <envar>UNIMAP=</envar>
220 <replaceable>&lt;unicode table base file name&gt;</replaceable>
cdc8d9c4
HH
221 </term>
222 <listitem>
c865ecbf 223 <para>see description of &apos;-u&apos; parameter in setfont manual; taken from unimaps directory; will be written to /etc/sysconfig/i18n in the initramfs</para>
9b3d462b
224 </listitem>
225 </varlistentry>
226 <varlistentry>
227 <term>
228 <envar>LANG=</envar>
229 <replaceable>&lt;locale&gt;</replaceable>
230 </term>
231 <listitem>
c865ecbf 232 <para>taken from the environment; if no UNICODE is defined we set its value in basis of LANG value (whether it ends with &quot;.utf8&quot; (or similar) or not); will be written to /etc/sysconfig/i18n in the initramfs; e.g.: <programlisting>LANG=pl_PL.utf8</programlisting></para>
9b3d462b
233 </listitem>
234 </varlistentry>
235 <varlistentry>
236 <term>
237 <envar>LC_ALL=</envar>
238 <replaceable>&lt;locale&gt;</replaceable>
239 </term>
240 <listitem>
241 <para>taken from the environment; will be written to /etc/sysconfig/i18n in the initramfs</para>
cdc8d9c4
HH
242 </listitem>
243 </varlistentry>
244 </variablelist>
245 </refsect2>
246 <refsect2>
247 <title>LVM</title>
248 <variablelist>
249 <varlistentry>
250 <term>
251 <envar>rd_NO_LVM</envar>
252 </term>
253 <listitem>
254 <para>disable LVM detection</para>
255 </listitem>
256 </varlistentry>
257 <varlistentry>
258 <term>
259 <envar>rd_LVM_VG=<replaceable>&lt;volume group name&gt;</replaceable></envar>
260 </term>
261 <listitem>
262 <para>only activate the volume groups with the given name
263rd_LVM_VG can be specified multiple times on the kernel command line.</para>
264 </listitem>
265 </varlistentry>
266 <varlistentry>
267 <term>
268 <envar>rd_LVM_LV=<replaceable>&lt;logical volume name&gt;</replaceable></envar>
269 </term>
270 <listitem>
271 <para>only activate the logical volumes with the given name
272rd_LVM_LV can be specified multiple times on the kernel command line.</para>
273 </listitem>
274 </varlistentry>
275 <varlistentry>
276 <term>
277 <envar>rd_NO_LVMCONF</envar>
278 </term>
279 <listitem>
280 <para>remove any /etc/lvm/lvm.conf, which may exist in the initramfs</para>
281 </listitem>
282 </varlistentry>
283 </variablelist>
284 </refsect2>
285 <refsect2>
286 <title>crypto LUKS</title>
287 <variablelist>
288 <varlistentry>
289 <term>
290 <envar>rd_NO_LUKS</envar>
291 </term>
292 <listitem>
293 <para>disable crypto LUKS detection</para>
294 </listitem>
295 </varlistentry>
296 <varlistentry>
297 <term>
298 <envar>rd_LUKS_UUID=<replaceable>&lt;luks uuid&gt;</replaceable></envar>
299 </term>
300 <listitem>
301 <para>only activate the LUKS partitions with the given UUID
302Any &quot;luks-&quot; of the LUKS UUID is removed before comparing to &lt;luks uuid&gt;.
303The comparisons also matches, if &lt;luks uuid&gt; is only the beginning of the
304LUKS UUID, so you don&apos;t have to specify the full UUID.
305This parameter can be specified multiple times.</para>
306 </listitem>
307 </varlistentry>
308 <varlistentry>
309 <term>
310 <envar>rd_NO_CRYPTTAB</envar>
311 </term>
312 <listitem>
313 <para>do not check, if LUKS partition is in /etc/crypttab</para>
314 </listitem>
315 </varlistentry>
316 </variablelist>
317 </refsect2>
9b3d462b
318 <refsect2>
319 <title>crypt LUKS - experimental removable keys support</title>
320 <para>works only when plymouth module is not included</para>
321 <variablelist>
322 <varlistentry>
323 <term>
324 <envar>rd_LUKS_KEYPATH=</envar>
325 <replaceable>&lt;path to keyfile&gt;</replaceable>
326 </term>
327 <listitem>
328 <para>path to keyfile inside remove device filesystem</para>
329 </listitem>
330 </varlistentry>
331 <varlistentry>
332 <term>
333 <envar>rd_LUKS_KEYDEV_UUID=</envar>
334 <replaceable>&lt;rem. device uuid&gt;</replaceable>
335 </term>
336 <listitem>
c865ecbf 337 <para>UUID of removalbe device storing keyfile; UUID doesn&apos;t have to be exact just like for rd_LUKS_UUID</para>
9b3d462b
338 </listitem>
339 </varlistentry>
340 </variablelist>
341 </refsect2>
cdc8d9c4
HH
342 <refsect2>
343 <title>MD</title>
344 <variablelist>
345 <varlistentry>
346 <term>
347 <envar>rd_NO_MD</envar>
348 </term>
349 <listitem>
350 <para>disable MD RAID detection</para>
351 </listitem>
352 </varlistentry>
353 <varlistentry>
354 <term>
355 <envar>rd_NO_MDIMSM</envar>
356 </term>
357 <listitem>
358 <para>no MD RAID for imsm/isw raids, use dmraid instead</para>
359 </listitem>
360 </varlistentry>
361 <varlistentry>
362 <term>
363 <envar>rd_NO_MDADMCONF</envar>
364 </term>
365 <listitem>
366 <para>ignore mdadm.conf included in initramfs</para>
367 </listitem>
368 </varlistentry>
369 <varlistentry>
370 <term>
371 <envar>rd_MD_UUID=<replaceable>&lt;md uuid&gt;</replaceable></envar>
372 </term>
373 <listitem>
374 <para>only activate the raid sets with the given UUID.
375This parameter can be specified multiple times.</para>
376 </listitem>
377 </varlistentry>
378 </variablelist>
379 </refsect2>
380 <refsect2>
381 <title>DMRAID</title>
382 <variablelist>
383 <varlistentry>
384 <term>
385 <envar>rd_NO_DM</envar>
386 </term>
387 <listitem>
388 <para>disable DM RAID detection</para>
389 </listitem>
390 </varlistentry>
391 <varlistentry>
392 <term>
393 <envar>rd_DM_UUID=<replaceable>&lt;dmraid uuid&gt;</replaceable></envar>
394 </term>
395 <listitem>
396 <para>only activate the raid sets with the given UUID.
397This parameter can be specified multiple times.</para>
398 </listitem>
399 </varlistentry>
400 </variablelist>
401 </refsect2>
402 <refsect2>
403 <title>Network</title>
404 <variablelist>
405 <varlistentry>
3eccdb52
HH
406 <term>
407 <envar>ip=</envar>
408 <replaceable>{dhcp|on|any|dhcp6|auto6}</replaceable>
409 </term>
cdc8d9c4
HH
410 <listitem>
411 <para>dhcp|on|any: get ip from dhcp server from all interfaces. If root=dhcp,
412loop sequentially through all interfaces (eth0, eth1, ...) and use the first
413with a valid DHCP root-path.</para>
414 <para>auto6: do IPv6 autoconfiguration</para>
415 </listitem>
416 </varlistentry>
417 <varlistentry>
3eccdb52 418 <term><envar>ip=</envar><replaceable>&lt;interface&gt;</replaceable>:<replaceable>{dhcp|on|any|dhcp6|auto6}</replaceable></term>
cdc8d9c4
HH
419 <listitem>
420 <para>dhcp|on|any|dhcp6: get ip from dhcp server on a specific interface
421auto6: do IPv6 autoconfiguration
422This parameter can be specified multiple times.</para>
423 </listitem>
424 </varlistentry>
425 <varlistentry>
426 <term><envar>ip=</envar><replaceable>&lt;client-IP&gt;</replaceable>:<optional>
427 <replaceable>&lt;server-id&gt;</replaceable>
3eccdb52 428 </optional>:<replaceable>&lt;gateway-IP&gt;</replaceable>:<replaceable>&lt;netmask&gt;</replaceable>:<replaceable>&lt;client_hostname&gt;</replaceable>:<replaceable>&lt;interface&gt;</replaceable>:<replaceable>{none|off}</replaceable></term>
cdc8d9c4
HH
429 <listitem>
430 <para>explicit network configuration. If you want do define a IPv6 address, put it in brackets (e.g. [2001:DB8::1]).
431This parameter can be specified multiple times.</para>
432 </listitem>
433 </varlistentry>
434 <varlistentry>
3eccdb52 435 <term><envar>ifname=</envar><replaceable>&lt;interface&gt;</replaceable>:<replaceable>&lt;MAC&gt;</replaceable></term>
cdc8d9c4
HH
436 <listitem>
437 <para>Assign network device name &lt;interface&gt; (ie eth0) to the NIC with MAC &lt;MAC&gt;.
438Note letters in the MAC-address must be lowercase!
439Note that if you use this option you <emphasis remap="B">must</emphasis> specify an ifname= argument
440for all interfaces used in ip= or fcoe= arguments
441This parameter can be specified multiple times.</para>
442 </listitem>
443 </varlistentry>
444 <varlistentry>
3eccdb52
HH
445 <term>
446 <envar>bootdev=</envar>
447 <replaceable>&lt;interface&gt;</replaceable>
448 </term>
cdc8d9c4
HH
449 <listitem>
450 <para>specify network interface to use routing and netroot information from.
451Required if multiple ip= lines are used.</para>
452 </listitem>
453 </varlistentry>
454 <varlistentry>
3eccdb52
HH
455 <term>
456 <envar>nameserver=</envar>
457 <replaceable>&lt;IP&gt;</replaceable>
458 <optional><envar>nameserver</envar>=<replaceable>&lt;IP&gt;</replaceable> ...</optional>
459 </term>
cdc8d9c4
HH
460 <listitem>
461 <para>specify nameserver(s) to use</para>
462 </listitem>
463 </varlistentry>
464 </variablelist>
465 </refsect2>
466 <refsect2>
467 <title>NFS</title>
468 <variablelist>
469 <varlistentry>
3eccdb52
HH
470 <term>
471 <envar>root=</envar>
472 <optional><replaceable>&lt;server-ip&gt;</replaceable>:</optional>
473 <replaceable>&lt;root-dir&gt;</replaceable>
474 <optional>:<replaceable>&lt;nfs-options&gt;</replaceable></optional>
475 </term>
cdc8d9c4
HH
476 <listitem>
477 <para>mount nfs share from &lt;server-ip&gt;:/&lt;root-dir&gt;, if no server-ip is given,
478use dhcp next_server. if server-ip is an IPv6 address it has to be put in brackets, e.g. [2001:DB8::1].
479NFS options can be appended with the prefix &quot;:&quot; or &quot;,&quot; and are seperated by &quot;,&quot;.</para>
480 </listitem>
481 </varlistentry>
482 <varlistentry>
3eccdb52
HH
483 <term><envar>root=</envar>nfs:<optional><replaceable>&lt;server-ip&gt;</replaceable>:</optional><replaceable>&lt;root-dir&gt;</replaceable><optional>:<replaceable>&lt;nfs-options&gt;</replaceable></optional></term>
484 <term><envar>root=</envar>nfs4:<optional><replaceable>&lt;server-ip&gt;</replaceable>:</optional><replaceable>&lt;root-dir&gt;</replaceable><optional>:<replaceable>&lt;nfs-options&gt;</replaceable></optional></term>
485 <term>
486 <envar>root=</envar>
487 <replaceable>{dhcp|dhcp6}</replaceable>
488 </term>
cdc8d9c4
HH
489 <listitem>
490 <para>root=dhcp alone directs initrd to look at the DHCP root-path where NFS
491options can be specified.
492 root-path=&lt;server-ip&gt;:&lt;root-dir&gt;[,&lt;nfs-options&gt;]
493 root-path=nfs:&lt;server-ip&gt;:&lt;root-dir&gt;[,&lt;nfs-options&gt;]
494 root-path=nfs4:&lt;server-ip&gt;:&lt;root-dir&gt;[,&lt;nfs-options&gt;]</para>
495 </listitem>
496 </varlistentry>
497 <varlistentry>
3eccdb52
HH
498 <term>
499 <envar>root=</envar>
500 <filename>/dev/nfs</filename>
501 <envar> nfsroot=</envar>
502 <optional><replaceable>&lt;server-ip&gt;</replaceable>:</optional>
503 <replaceable>&lt;root-dir&gt;</replaceable>
504 <optional>:<replaceable>&lt;nfs-options&gt;</replaceable></optional>
505 </term>
cdc8d9c4
HH
506 <listitem>
507 <para><emphasis remap="B">Deprecated!</emphasis> kernel Documentation/filesystems/nfsroot.txt defines
508this method.
509This is supported by dracut but not recommended.</para>
510 </listitem>
511 </varlistentry>
512 <varlistentry>
3eccdb52
HH
513 <term>
514 <envar remap="B">rd_NFS_DOMAIN=</envar>
515 <replaceable>&lt;NFSv4 domain name&gt;</replaceable>
516 </term>
cdc8d9c4
HH
517 <listitem>
518 <para>Set the NFSv4 domain name. Will overwrite the settings in /etc/idmap.conf.</para>
519 </listitem>
520 </varlistentry>
521 </variablelist>
522 </refsect2>
523 <refsect2>
524 <title>iSCSI</title>
525 <variablelist>
526 <varlistentry>
3eccdb52
HH
527 <term><envar>root=</envar>iscsi:<optional><replaceable>&lt;username&gt;</replaceable>:<replaceable>&lt;password&gt;</replaceable><optional>:<replaceable>&lt;reverse&gt;</replaceable>:<replaceable>&lt;password&gt;</replaceable></optional>@</optional><optional>
528 <replaceable>&lt;servername&gt;</replaceable>
529 </optional>:<optional>
530 <replaceable>&lt;protocol&gt;</replaceable>
531 </optional>:<optional>
532 <replaceable>&lt;port&gt;</replaceable>
533 </optional>:<optional>
534 <replaceable>&lt;LUN&gt;</replaceable>
535 </optional>:<replaceable>&lt;targetname&gt;</replaceable></term>
cdc8d9c4
HH
536 <listitem>
537 <para>protocol defaults to &quot;6&quot;, LUN defaults to &quot;0&quot;.</para>
538 <para>If the &quot;servername&quot; field is provided by BOOTP or DHCP, then that
539field is used in conjunction with other associated fields to contact
540the boot server in the Boot stage (Section 7). However, if the
541&quot;servername&quot; field is not provided, then the &quot;targetname&quot; field is
542then used in the Discovery Service stage in conjunction with other
543associated fields.</para>
544 <para><ulink url="http://tools.ietf.org/html/rfc4173">http://tools.ietf.org/html/rfc4173</ulink></para>
3eccdb52
HH
545 <para>e.g.
546 <programlisting>
547root=iscsi:192.168.50.1::::iqn.2009-06.dracut:target0
548 </programlisting>
549 </para>
550 <para>If servername is an IPv6 address, it has to be put in brackets. e.g.
551 <programlisting>
552root=iscsi:[2001:DB8::1]::::iqn.2009-06.dracut:target0
553 </programlisting></para>
554 </listitem>
555 </varlistentry>
556 <varlistentry>
557 <term><envar>root=</envar><replaceable>???</replaceable><envar> netroot=</envar>iscsi:<optional><replaceable>&lt;username&gt;</replaceable>:<replaceable>&lt;password&gt;</replaceable><optional>:<replaceable>&lt;reverse&gt;</replaceable>:<replaceable>&lt;password&gt;</replaceable></optional>@</optional><optional>
558 <replaceable>&lt;servername&gt;</replaceable>
559 </optional>:<optional>
560 <replaceable>&lt;protocol&gt;</replaceable>
561 </optional>:<optional>
562 <replaceable>&lt;port&gt;</replaceable>
563 </optional>:<optional>
564 <replaceable>&lt;LUN&gt;</replaceable>
565 </optional>:<replaceable>&lt;targetname&gt;</replaceable> ...</term>
566 <listitem>
567 <para>multiple netroot options allow setting up multiple iscsi disks. e.g.
568 <programlisting>
569root=UUID=12424547
570netroot=iscsi:192.168.50.1::::iqn.2009-06.dracut:target0
571netroot=iscsi:192.168.50.1::::iqn.2009-06.dracut:target1
572 </programlisting></para>
cdc8d9c4
HH
573 <para>If servername is an IPv6 address, it has to be put in brackets.
574 e.g.
3eccdb52 575 <programlisting>netroot=iscsi:[2001:DB8::1]::::iqn.2009-06.dracut:target0</programlisting></para>
cdc8d9c4
HH
576 </listitem>
577 </varlistentry>
578 <varlistentry>
3eccdb52
HH
579 <term>
580 <envar>root=<replaceable>???</replaceable></envar>
581 <envar> iscsi_initiator=<replaceable>&lt;initiator&gt; </replaceable></envar>
582 <envar>iscsi_target_name=<replaceable>&lt;target_name&gt; </replaceable></envar>
583 <envar>iscsi_target_ip=<replaceable>&lt;target ip&gt; </replaceable></envar>
584 <envar>iscsi_target_port=<replaceable>&lt;target port&gt; </replaceable></envar>
585 <envar>iscsi_target_group=<replaceable>&lt;target group&gt; </replaceable></envar>
586 <envar>iscsi_username=<replaceable>&lt;username&gt; </replaceable></envar>
587 <envar>iscsi_password=<replaceable>&lt;password&gt; </replaceable></envar>
588 <envar>iscsi_in_username=<replaceable>&lt;in username&gt; </replaceable></envar>
589 <envar>iscsi_in_password=<replaceable>&lt;in password&gt; </replaceable></envar>
590 </term>
cdc8d9c4
HH
591 <listitem>
592 <para>manually specify all iscsistart parameter (see <userinput>iscsistart&nbsp;--help</userinput>)</para>
593 </listitem>
594 </varlistentry>
595 <varlistentry>
596 <term><envar>root=</envar>???<envar> iscsi_firmware</envar></term>
597 <listitem>
598 <para>will read the iscsi parameter from the BIOS firmware</para>
599 </listitem>
600 </varlistentry>
601 </variablelist>
602 </refsect2>
603 <refsect2>
604 <title>FCoE</title>
605 <variablelist>
606 <varlistentry>
3eccdb52 607 <term><envar>netroot=</envar>fcoe:<replaceable>&lt;interface|MAC&gt;</replaceable>:<replaceable>{dcb|nodcb}</replaceable></term>
cdc8d9c4
HH
608 <listitem>
609 <para>Try to connect to a FCoE SAN through the NIC specified by &lt;interface&gt; or &lt;MAC&gt;,
610for the second argument, currently only nodcb is supported. Note letters in
611the MAC-address must be lowercase!</para>
612 </listitem>
613 </varlistentry>
614 </variablelist>
615 </refsect2>
616 <refsect2>
617 <title>NBD</title>
618 <variablelist>
619 <varlistentry>
3eccdb52 620 <term><envar>root=</envar><constant>nbd</constant>:<replaceable>&lt;server&gt;</replaceable>:<replaceable>&lt;port&gt;</replaceable><optional>:<replaceable>&lt;fstype&gt;</replaceable></optional><optional>:<replaceable>&lt;mountopts&gt;</replaceable></optional></term>
cdc8d9c4
HH
621 <listitem>
622 <para>mount nbd share from &lt;server&gt;</para>
623 </listitem>
624 </varlistentry>
625 <varlistentry>
3eccdb52
HH
626 <term>
627 <envar>root=dhcp</envar>
628 </term>
cdc8d9c4
HH
629 <listitem>
630 <para>with dhcp root-path=nbd:&lt;server&gt;:&lt;port&gt;[:&lt;fstype&gt;][:&lt;mountopts&gt;]
631root=dhcp alone directs initrd to look at the DHCP root-path where NBD
632options can be specified.
633This syntax is only usable in cases where you are directly mounting the volume
634as the rootfs.</para>
635 </listitem>
636 </varlistentry>
637 </variablelist>
638 </refsect2>
639 <refsect2>
640 <title>DASD</title>
641 <variablelist>
642 <varlistentry>
643 <term><envar>rd_DASD_MOD=</envar>....</term>
644 <listitem>
645 <para>same syntax as the kernel module parameter (s390 only)</para>
646 </listitem>
647 </varlistentry>
648 <varlistentry>
3eccdb52
HH
649 <term>
650 <envar>rd_DASD=</envar>
651 <replaceable>&lt;dasd_adaptor device bus ID&gt;</replaceable>
652 <optional>,readonly=<replaceable>X</replaceable></optional>
653 <optional>,use_diag=<replaceable>X</replaceable></optional>
654 <optional>,erplog=<replaceable>X</replaceable></optional>
655 </term>
cdc8d9c4
HH
656 <listitem>
657 <para>activate DASD device with the given adaptor device bus ID and setting the sysfs attributes
658to the specified values
659This parameter can be specified multiple times.</para>
660 </listitem>
661 </varlistentry>
662 </variablelist>
663 </refsect2>
664 <refsect2>
665 <title>ZFCP</title>
666 <variablelist>
667 <varlistentry>
3eccdb52 668 <term><envar>rd_ZFCP=</envar><replaceable>&lt;zfcp adaptor device bus ID&gt;</replaceable>,<replaceable>&lt;WWPN&gt;</replaceable>,<replaceable>&lt;FCPLUN&gt;</replaceable></term>
cdc8d9c4
HH
669 <listitem>
670 <para>rd_ZFCP can be specified multiple times on the kernel command line.</para>
671 <para>example: rd_ZFCP=0.0.4000,0x5005076300C213e9,0x5022000000000000</para>
672 </listitem>
673 </varlistentry>
674 <varlistentry>
675 <term>
676 <envar>rd_NO_ZFCPCONF</envar>
677 </term>
678 <listitem>
679 <para>ignore zfcp.conf included in the initramfs</para>
680 </listitem>
681 </varlistentry>
682 </variablelist>
683 </refsect2>
684 <refsect2>
685 <title>ZNET</title>
686 <variablelist>
687 <varlistentry>
3eccdb52 688 <term><envar>rd_ZNET=</envar><replaceable>&lt;nettype&gt;</replaceable>,<replaceable>&lt;subchannels&gt;</replaceable>,<replaceable>&lt;options&gt;</replaceable></term>
cdc8d9c4
HH
689 <listitem>
690 <para>rd_ZNET can be specified multiple times on the kernel command line. Examples:
691 rd_ZNET=qeth,0.0.0600,0.0.0601,0.0.0602,layer2=1,portname=foo
692 rd_ZNET=ctc,0.0.0600,0.0.0601,0.0.0602,protocol=bar</para>
693 </listitem>
694 </varlistentry>
695 </variablelist>
696 </refsect2>
697 <refsect2>
698 <title>Plymouth Boot Splash</title>
699 <variablelist>
700 <varlistentry>
701 <term>
702 <envar>rd_NO_PLYMOUTH</envar>
703 </term>
704 <listitem>
705 <para>do not start plymouth. This will not work with encrypted partitions.</para>
706 </listitem>
707 </varlistentry>
708 </variablelist>
709 </refsect2>
710 </refsect1>
711 <refsect1>
c865ecbf 712 <title>Files</title>
cdc8d9c4
HH
713 <variablelist>
714 <varlistentry>
715 <term>
716 <filename>/var/log/dracut.log</filename>
717 </term>
718 <listitem>
719 <para>logfile of initramfs image creation</para>
720 </listitem>
721 </varlistentry>
722 <varlistentry>
723 <term>
724 <filename>/tmp/dracut.log</filename>
725 </term>
726 <listitem>
727 <para>logfile of initramfs image creation, if /var/log/dracut.log is not writable</para>
728 </listitem>
729 </varlistentry>
730 <varlistentry>
731 <term>
732 <filename>/etc/dracut.conf</filename>
733 </term>
734 <listitem>
735 <para>see <citerefentry>
736 <refentrytitle>dracut.conf</refentrytitle>
737 <manvolnum>5</manvolnum>
738 </citerefentry></para>
739 </listitem>
740 </varlistentry>
741 <varlistentry>
742 <term>
743 <filename>/etc/dracut.conf.d/*.conf</filename>
744 </term>
745 <listitem>
746 <para>see <citerefentry>
747 <refentrytitle>dracut.conf</refentrytitle>
748 <manvolnum>5</manvolnum>
749 </citerefentry></para>
750 </listitem>
751 </varlistentry>
752 </variablelist>
753 <refsect2>
754 <title>Configuration in the Initramfs</title>
755 <variablelist>
756 <varlistentry>
757 <term>
758 <filename>/conf/conf.d/</filename>
759 </term>
760 <listitem>
761 <para>Any files found in /conf/conf.d/ will be sourced in the initramfs to
762set initial values. Command line options will override these values
763set in the configuration files.</para>
764 </listitem>
765 </varlistentry>
766 <varlistentry>
767 <term>
768 <filename>/etc/cmdline</filename>
769 </term>
770 <listitem>
771 <para>Can contain additional command line options.</para>
772 </listitem>
773 </varlistentry>
774 </variablelist>
775 </refsect2>
776 </refsect1>
777 <refsect1>
778 <title>See Also</title>
779 <para>
780 <citerefentry>
781 <refentrytitle>dracut</refentrytitle>
782 <manvolnum>8</manvolnum>
783 </citerefentry>
784 <citerefentry>
785 <refentrytitle>dracut.conf</refentrytitle>
786 <manvolnum>5</manvolnum>
787 </citerefentry>
788 </para>
789 </refsect1>
790</refentry>