50-dracut.install: fixed /proc/cmdline reading
[dracut.git] / dracut.cmdline.7.asc
blobf66bace3b660a9985524ebbc605789a8ea0bcf9e
1 DRACUT.CMDLINE(7)
2 =================
3 :doctype: manpage
4 :man source:   dracut
5 :man manual:   dracut
7 NAME
8 ----
9 dracut.cmdline - dracut kernel command line options
11 DESCRIPTION
12 -----------
13 The root device used by the kernel is specified in the boot configuration
14 file on the kernel command line, as always.
16 The traditional _root=/dev/sda1_ style device specification is allowed, but not
17 encouraged. The root device should better be identified by LABEL or UUID. If a
18 label is used, as in _root=LABEL=<label_of_root>_ the initramfs will search all
19 available devices for a filesystem with the appropriate label, and mount that
20 device as the root filesystem. _root=UUID=<uuidnumber>_ will mount the partition
21 with that UUID as the root filesystem.
23 In the following all kernel command line parameters, which are processed by
24 dracut, are described.
26 "rd.*" parameters mentioned without "=" are boolean parameters. They can be
27 turned on/off by setting them to {0|1}. If the assignment with "=" is missing
28 "=1" is implied. For example _rd.info_ can be turned off with _rd.info=0_ or
29 turned on with _rd.info=1_ or _rd.info_. The last value in the kernel command
30 line is the value, which is honored.
32 Standard
33 ~~~~~~~~
34 **init=**__<path to real init>__::
35     specify the path to the init programm to be started after the initramfs has
36     finished
38 **root=**__<path to blockdevice>__::
39     specify the block device to use as the root filesystem.
41 [listing]
42 .Example
44 root=/dev/sda1
45 root=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:1:0-part1
46 root=/dev/disk/by-label/Root
47 root=LABEL=Root
48 root=/dev/disk/by-uuid/3f5ad593-4546-4a94-a374-bcfb68aa11f7
49 root=UUID=3f5ad593-4546-4a94-a374-bcfb68aa11f7
50 root=PARTUUID=3f5ad593-4546-4a94-a374-bcfb68aa11f7
53 **rootfstype=**__<filesystem type>__:: "auto" if not specified.
55 [listing]
56 .Example
58 rootfstype=ext3
61 **rootflags=**__<mount options>__::
62     specify additional mount options for the root filesystem. If not set,
63     _/etc/fstab_ of the real root will be parsed for special mount options and
64     mounted accordingly.
66 **ro**::
67     force mounting _/_ and _/usr_ (if it is a separate device) read-only.  If
68     none of ro and rw is present, both are mounted according to _/etc/fstab_.
70 **rw**::
71     force mounting _/_ and _/usr_ (if it is a separate device) read-write.
72     See also ro option.
74 **rootfallback=**__<path to blockdevice>__::
75     specify the block device to use as the root filesystem, if the normal root
76     cannot be found. This can only be a simple block device with a simple file
77     system, for which the filesystem driver is either compiled in, or added
78     manually to the initramfs. This parameter can be specified multiple times.
80 **rd.auto** **rd.auto=1**::
81     enable autoassembly of special devices like cryptoLUKS, dmraid, mdraid or
82     lvm. Default is off as of dracut version >= 024.
84 **rd.hostonly=0**::
85     removes all compiled in configuration of the host system the initramfs image
86     was built on. This helps booting, if any disk layout changed, especially in
87     combination with rd.auto or other parameters specifying the layout.
89 **rd.cmdline=ask**::
90     prompts the user for additional kernel command line parameters
92 **rd.fstab=0**::
93     do not honor special mount options for the root filesystem found in
94     _/etc/fstab_ of the real root.
96 **resume=**__<path to resume partition>__::
97     resume from a swap partition
99 [listing]
100 .Example
102 resume=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:1:0-part1
103 resume=/dev/disk/by-uuid/3f5ad593-4546-4a94-a374-bcfb68aa11f7
104 resume=UUID=3f5ad593-4546-4a94-a374-bcfb68aa11f7
107 **rd.skipfsck**::
108     skip fsck for rootfs and _/usr_.  If you're mounting _/usr_ read-only and
109     the init system performs fsck before remount, you might want to use this
110     option to avoid duplication.
113 Misc
114 ~~~~
115 **rd.driver.blacklist=**__<drivername>__[,__<drivername>__,...]::
116     do not load kernel module <drivername>. This parameter can be specified
117     multiple times.
119 **rd.driver.pre=**__<drivername>__[,__<drivername>__,...]::
120     force loading kernel module <drivername>. This parameter can be specified
121     multiple times.
123 **rd.driver.post=**__<drivername>__[,__<drivername>__,...]::
124     force loading kernel module <drivername> after all automatic loading modules
125     have been loaded. This parameter can be specified multiple times.
127 **rd.retry=**__<seconds>__::
128     specify how long dracut should wait for devices to appear.
129     The default is 30 seconds. After 2/3 of the time, degraded raids are force
130     started. If you have hardware, which takes a very long time to announce its
131     drives, you might want to extend this value.
133 **rd.noverifyssl**::
134     accept self-signed certificates for ssl downloads.
136 **rd.ctty=**__<terminal device>__::
137    specify the controlling terminal for the console.
138    This is useful, if you have multiple "console=" arguments.
140 [[dracutkerneldebug]]
141 Debug
142 ~~~~~
143 If you are dropped to an emergency shell, the file 
144 _/run/initramfs/rdsosreport.txt_ is created, which can be safed to a (to be
145 mounted by hand) partition (usually /boot) or a USB stick. Additional debugging
146 info can be produced by adding **rd.debug** to the kernel command line.
147 _/run/initramfs/rdsosreport.txt_ contains all logs and the output of some tools.
148 It should be attached to any report about dracut problems.
150 **rd.info**::
151     print informational output though "quiet" is set
153 **rd.shell**::
154     allow dropping to a shell, if root mounting fails
156 **rd.debug**::
157     set -x for the dracut shell.
158     If systemd is active in the initramfs, all output is logged to the systemd
159     journal, which you can inspect with "journalctl -ab".
160     If systemd is not active, the logs are written to dmesg and
161     _/run/initramfs/init.log_.
162     If "quiet" is set, it also logs to the console.
164 **rd.memdebug=[0-3]**::
165     Print memory usage info at various points, set the verbose level from 0 to 3.
166 +    
167     Higher level means more debugging output:
169 ----
170     0 - no output
171     1 - partial /proc/meminfo
172     2 - /proc/meminfo
173     3 - /proc/meminfo + /proc/slabinfo
174 ----
176 **rd.break**::
177     drop to a shell at the end
179 **rd.break=**__{cmdline|pre-udev|pre-trigger|initqueue|pre-mount|mount|pre-pivot|cleanup}__::
180     drop to a shell on defined breakpoint
182 **rd.udev.info**::
183     set udev to loglevel info
185 **rd.udev.debug**::
186     set udev to loglevel debug
188 I18N
189 ~~~~
190 **rd.vconsole.keymap=**__<keymap base file name>__::
191     keyboard translation table loaded by loadkeys; taken from keymaps directory;
192     will be written as KEYMAP to _/etc/vconsole.conf_ in the initramfs.
194 [listing]
195 .Example
197 rd.vconsole.keymap=de-latin1-nodeadkeys
200 **rd.vconsole.keymap.ext=**__<list of keymap base file names>__::
201     list of extra keymaps to bo loaded (sep. by space); will be written as
202     EXT_KEYMAP to _/etc/vconsole.conf_ in the initramfs
204 **rd.vconsole.unicode**::
205     boolean, indicating UTF-8 mode; will be written as UNICODE to
206     _/etc/vconsole.conf_ in the initramfs
208 **rd.vconsole.font=**__<font base file name>__::
209     console font; taken from consolefonts directory; will be written as FONT to
210     _/etc/vconsole.conf_ in the initramfs.
212 [listing]
213 .Example
215 rd.vconsole.font=LatArCyrHeb-16
218 **rd.vconsole.font.map=**__<console map base file name>__::
219     see description of '-m' parameter in setfont manual; taken from consoletrans
220     directory; will be written as FONT_MAP to _/etc/vconsole.conf_ in the
221     initramfs
223 **rd.vconsole.font.unimap=**__<unicode table base file name>__::
224     see description of '-u' parameter in setfont manual; taken from unimaps
225     directory; will be written as FONT_UNIMAP to _/etc/vconsole.conf_ in the
226     initramfs
228 **rd.locale.LANG=**__<locale>__::
229     taken from the environment; if no UNICODE is defined we set its value in
230     basis of LANG value (whether it ends with ".utf8" (or similar) or not); will
231     be written as LANG to _/etc/locale.conf_ in the initramfs.
233 [listing]
234 .Example
236 rd.locale.LANG=pl_PL.utf8
239 **rd.locale.LC_ALL=**__<locale>__::
240     taken from the environment; will be written as LC_ALL to _/etc/locale.conf_
241     in the initramfs
245 **rd.lvm=0**::
246     disable LVM detection
248 **rd.lvm.vg=**__<volume group name>__::
249     only activate the volume groups with the given name. rd.lvm.vg can be
250     specified multiple times on the kernel command line.
252 **rd.lvm.lv=**__<logical volume name>__::
253     only activate the logical volumes with the given name. rd.lvm.lv can be
254     specified multiple times on the kernel command line.
256 **rd.lvm.conf=0**::
257     remove any _/etc/lvm/lvm.conf_, which may exist in the initramfs
259 crypto LUKS
260 ~~~~~~~~~~~
261 **rd.luks=0**::
262     disable crypto LUKS detection
264 **rd.luks.uuid=**__<luks uuid>__::
265     only activate the LUKS partitions with the given UUID. Any "luks-" of the
266     LUKS UUID is removed before comparing to _<luks uuid>_.
267     The comparisons also matches, if _<luks uuid>_ is only the beginning of the
268     LUKS UUID, so you don't have to specify the full UUID.
269     This parameter can be specified multiple times.
271 **rd.luks.allow-discards=**__<luks uuid>__::
272     Allow  using  of discards (TRIM) requests for LUKS partitions with the given
273     UUID. Any "luks-" of the LUKS UUID is removed before comparing to
274     _<luks uuid>_. The comparisons also matches, if _<luks uuid>_ is only the
275     beginning of the LUKS UUID, so you don't have to specify the full UUID.
276     This parameter can be specified multiple times.
278 **rd.luks.allow-discards**::
279     Allow  using  of discards (TRIM) requests on all LUKS partitions.
281 **rd.luks.crypttab=0**::
282     do not check, if LUKS partition is in _/etc/crypttab_
284 crypto LUKS - key on removable device support
285 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
286 **rd.luks.key=**__<keypath>__:__<keydev>__:__<luksdev>__::
287     _keypath_ is a path to key file to look for. It's REQUIRED. When _keypath_
288     ends with '.gpg' it's considered to be key encrypted symmetrically with GPG.
289     You will be prompted for password on boot. GPG support comes with
290     'crypt-gpg' module which needs to be added explicitly.
292 _keydev_ is a device on which key file resides. It might be kernel name of
293 devices (should start with "/dev/"), UUID (prefixed with "UUID=") or label
294 (prefix with "LABEL="). You don't have to specify full UUID. Just its beginning
295 will suffice, even if its ambiguous. All matching devices will be probed.
296 This parameter is recommended, but not required. If not present, all block
297 devices will be probed, which may significantly increase boot time.
299 If _luksdev_ is given, the specified key will only be applied for that LUKS
300 device. Possible values are the same as for _keydev_. Unless you have several
301 LUKS devices, you don't have to specify this parameter. The simplest usage is:
303 [listing]
304 .Example
306 rd.luks.key=/foo/bar.key
309 As you see, you can skip colons in such a case.
311 [NOTE]
312 ===============================
313 dracut pipes key to cryptsetup with _-d -_ argument, therefore you need to pipe
314 to crypsetup luksFormat with _-d -_, too!
316 Here follows example for key encrypted with GPG:
318 [listing]
320 gpg --quiet --decrypt rootkey.gpg | \
321 cryptsetup -d - -v --cipher serpent-cbc-essiv:sha256 \
322 --key-size 256 luksFormat /dev/sda3
325 If you use plain keys, just add path to _-d_ option:
327 [listing]
329 cryptsetup -d rootkey.key -v --cipher serpent-cbc-essiv:sha256 \
330  --key-size 256 luksFormat /dev/sda3
332 ===============================
334 MD RAID
335 ~~~~~~~
336 **rd.md=0**::
337     disable MD RAID detection
339 **rd.md.imsm=0**::
340     disable MD RAID for imsm/isw raids, use DM RAID instead
342 **rd.md.ddf=0**::
343     disable MD RAID for SNIA ddf raids, use DM RAID instead
345 **rd.md.conf=0**::
346     ignore mdadm.conf included in initramfs
348 **rd.md.waitclean=1**::
349     wait for any resync, recovery, or reshape activity to finish before
350     continuing
352 **rd.md.uuid=**__<md raid uuid>__::
353     only activate the raid sets with the given UUID. This parameter can be
354     specified multiple times.
356 DM RAID
357 ~~~~~~~
358 **rd.dm=0**::
359     disable DM RAID detection
361 **rd.dm.uuid=**__<dm raid uuid>__::
362    only activate the raid sets with the given UUID. This parameter can be
363    specified multiple times.
365 FIPS
366 ~~~~
367 **rd.fips**::
368     enable FIPS
370 **boot=**__<boot device>__::
371     specify the device, where /boot is located.
373 [listing]
374 .Example
376 boot=/dev/sda1
377 boot=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:1:0-part1
378 boot=UUID=<uuid>
379 boot=LABEL=<label>
382 **rd.fips.skipkernel**::
383     skip checksum check of the kernel image. Useful, if the kernel image is not
384     in a separate boot partition.
386 Network
387 ~~~~~~~
389 [IMPORTANT]
390 =====================
391 It is recommended to either bind an interface to a MAC with the **ifname**
392 argument, or to use the systemd-udevd predictable network interface names.
394 Predictable network interface device names based on:
396 - firmware/bios-provided index numbers for on-board devices
397 - firmware-provided pci-express hotplug slot index number
398 - physical/geographical location of the hardware
399 - the interface's MAC address
401 See:
402 http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
404 Two character prefixes based on the type of interface:
406 en:: ethernet
407 wl:: wlan
408 ww:: wwan
410 Type of names:
412 o<index>:: on-board device index number
413 s<slot>[f<function>][d<dev_id>]:: hotplug slot index number
414 x<MAC>:: MAC address
415 [P<domain>]p<bus>s<slot>[f<function>][d<dev_id>]:: PCI geographical location
416 [P<domain>]p<bus>s<slot>[f<function>][u<port>][..][c<config>][i<interface>]:: USB port number chain
418 All multi-function PCI devices will carry the [f<function>] number in the
419 device name, including the function 0 device.
421 When using PCI geography, The PCI domain is only prepended when it is not 0.
423 For USB devices the full chain of port numbers of hubs is composed. If the
424 name gets longer than the maximum number of 15 characters, the name is not
425 exported.
426 The usual USB configuration == 1 and interface == 0 values are suppressed.
428 PCI ethernet card with firmware index "1"::
429 * eno1
431 PCI ethernet card in hotplug slot with firmware index number::
432 * ens1
434 PCI ethernet multi-function card with 2 ports::
435 * enp2s0f0
436 * enp2s0f1
438 PCI wlan card::
439 * wlp3s0
441 USB built-in 3G modem::
442 * wwp0s29u1u4i6
444 USB Android phone::
445 * enp0s29u1u2
446 =====================
448 **ip=**__{dhcp|on|any|dhcp6|auto6}__::
449     dhcp|on|any::: get ip from dhcp server from all interfaces. If root=dhcp,
450     loop sequentially through all interfaces (eth0, eth1, ...) and use the first
451     with a valid DHCP root-path.
453     auto6::: IPv6 autoconfiguration
455     dhcp6::: IPv6 DHCP
457 **ip=**__<interface>__:__{dhcp|on|any|dhcp6|auto6}__[:[__<mtu>__][:__<macaddr>__]]::
458     This parameter can be specified multiple times.
460 =====================
461 dhcp|on|any|dhcp6::: get ip from dhcp server on a specific interface
462 auto6::: do IPv6 autoconfiguration
463 <macaddr>::: optionally **set** <macaddr> on the <interface>. This
464 cannot be used in conjunction with the **ifname** argument for the
465 same <interface>.
466 =====================
468 **ip=**__<client-IP>__:[__<peer>__]:__<gateway-IP>__:__<netmask>__:__<client_hostname>__:__<interface>__:__{none|off|dhcp|on|any|dhcp6|auto6|ibft}__:[:[__<mtu>__][:__<macaddr>__]]::
469     explicit network configuration. If you want do define a IPv6 address, put it
470     in brackets (e.g. [2001:DB8::1]). This parameter can be specified multiple
471     times. __<peer>__ is optional and is the address of the remote endpoint
472     for pointopoint interfaces and it may be followed by a slash and a decimal
473     number, encoding the network prefix length.
475 =====================
476 <macaddr>::: optionally **set** <macaddr> on the <interface>. This
477 cannot be used in conjunction with the **ifname** argument for the
478 same <interface>.
479 =====================
481 **ip=**__<client-IP>__:[__<peer>__]:__<gateway-IP>__:__<netmask>__:__<client_hostname>__:__<interface>__:__{none|off|dhcp|on|any|dhcp6|auto6|ibft}__[:[__<dns1>__][:__<dns2>__]]::
482     explicit network configuration. If you want do define a IPv6 address, put it
483     in brackets (e.g. [2001:DB8::1]). This parameter can be specified multiple
484     times. __<peer>__ is optional and is the address of the remote endpoint
485     for pointopoint interfaces and it may be followed by a slash and a decimal
486     number, encoding the network prefix length.
488 **ifname=**__<interface>__:__<MAC>__::
489     Assign network device name <interface> (ie "bootnet") to the NIC with
490     MAC <MAC>.
492 WARNING: Do **not** use the default kernel naming scheme for the interface name,
493 as it can conflict with the kernel names. So, don't use "eth[0-9]+" for the
494 interface name. Better name it "bootnet" or "bluesocket".
496 **rd.route=**__<net>__/__<netmask>__:__<gateway>__[:__<interface>__]::
497     Add a static route with route options, which are separated by a colon.
498     IPv6 addresses have to be put in brackets.
500 [listing]
501 .Example
503     rd.route=192.168.200.0/24:192.168.100.222:ens10
504     rd.route=192.168.200.0/24:192.168.100.222
505     rd.route=192.168.200.0/24::ens10
506     rd.route=[2001:DB8:3::/8]:[2001:DB8:2::1]:ens10
509 **bootdev=**__<interface>__::
510     specify network interface to use routing and netroot information from.
511     Required if multiple ip= lines are used.
513 **BOOTIF=**__<MAC>__::
514     specify network interface to use routing and netroot information from.
516 **rd.bootif=0**::
517     Disable BOOTIF parsing, which is provided by PXE
519 **nameserver=**__<IP>__ [**nameserver=**__<IP>__ ...]::
520     specify nameserver(s) to use
522 **biosdevname=0**::
523     boolean, turn off biosdevname network interface renaming
525 **rd.neednet=1**::
526     boolean, bring up network even without netroot set
528 **vlan=**__<vlanname>__:__<phydevice>__::
529     Setup vlan device named <vlanname> on <phydeivce>.
530     We support the four styles of vlan names: VLAN_PLUS_VID (vlan0005),
531     VLAN_PLUS_VID_NO_PAD (vlan5), DEV_PLUS_VID (eth0.0005),
532     DEV_PLUS_VID_NO_PAD (eth0.5)
534 **bond=**__<bondname>__[:__<bondslaves>__:[:__<options>__]]::
535     Setup bonding device <bondname> on top of <bondslaves>.
536     <bondslaves> is a comma-separated list of physical (ethernet) interfaces.
537     <options> is a comma-separated list on bonding options (modinfo bonding for
538     details) in format compatible with initscripts. If <options> includes
539     multi-valued arp_ip_target option, then its values should be separated by
540     semicolon. Bond without parameters assumes
541     bond=bond0:eth0,eth1:mode=balance-rr
543 **team=**__<teammaster>__:__<teamslaves>__::
544     Setup team device <teammaster> on top of <teamslaves>.
545     <teamslaves> is a comma-separated list of physical (ethernet) interfaces.
547 **bridge=**__<bridgename>__:__<ethnames>__::
548     Setup bridge <bridgename> with <ethnames>. <ethnames> is a comma-separated
549     list of physical (ethernet) interfaces. Bridge without parameters assumes
550     bridge=br0:eth0
554 **root=**\[_<server-ip>_:]__<root-dir>__[:__<nfs-options>__]::
555     mount nfs share from <server-ip>:/<root-dir>, if no server-ip is given, use
556     dhcp next_server. If server-ip is an IPv6 address it has to be put in
557     brackets, e.g. [2001:DB8::1]. NFS options can be appended with the prefix
558     ":" or "," and are seperated by ",".
560 **root=**nfs:\[_<server-ip>_:]__<root-dir>__[:__<nfs-options>__], **root=**nfs4:\[_<server-ip>_:]__<root-dir>__[:__<nfs-options>__], **root=**__{dhcp|dhcp6}__::
561     root=dhcp alone directs initrd to look at the DHCP root-path where NFS
562     options can be specified.
564 [listing]
565 .Example
567     root-path=<server-ip>:<root-dir>[,<nfs-options>]
568     root-path=nfs:<server-ip>:<root-dir>[,<nfs-options>]
569     root-path=nfs4:<server-ip>:<root-dir>[,<nfs-options>]
572 **root=**_/dev/nfs_ nfsroot=\[_<server-ip>_:]__<root-dir>__[:__<nfs-options>__]::
573     _Deprecated!_ kernel Documentation_/filesystems/nfsroot.txt_ defines this
574     method. This is supported by dracut, but not recommended.
576 **rd.nfs.domain=**__<NFSv4 domain name>__::
577     Set the NFSv4 domain name. Will overwrite the settings in _/etc/idmap.conf_.
579 CIFS
581 **root=**cifs://[__<username>__[:__<password>__]@]__<server-ip>__:__<root-dir>__::
582     mount cifs share from <server-ip>:/<root-dir>, if no server-ip is given, use
583     dhcp next_server. if server-ip is an IPv6 address it has to be put in
584     brackets, e.g. [2001:DB8::1]. If a username or password are not specified
585 as part of the root, then they must be passed on the command line through
586 cifsuser/cifspass.
588 WARNING: Passwords specified on the kernel command line are visible for all
589 users via the file _/proc/cmdline_ and via dmesg or can be sniffed on the
590 network, when using DHCP with DHCP root-path.
592 **cifsuser**=__<username>__::
593     Set the cifs username, if not specified as part of the root.
595 **cifspass**=__<password>__::
596     Set the cifs password, if not specified as part of the root.
598 WARNING: Passwords specified on the kernel command line are visible for all
599 users via the file _/proc/cmdline_ and via dmesg or can be sniffed on the
600 network, when using DHCP with DHCP root-path.
602 iSCSI
603 ~~~~~
604 **root=**iscsi:[__<username>__:__<password>__[:__<reverse>__:__<password>__]@][__<servername>__]:[__<protocol>__]:[__<port>__][:[__<iscsi_iface_name>__]:[__<netdev_name>__]]:[__<LUN>__]:__<targetname>__::
605     protocol defaults to "6", LUN defaults to "0". If the "servername" field is
606     provided by BOOTP or DHCP, then that field is used in conjunction with other
607     associated fields to contact the boot server in the Boot stage. However, if
608     the "servername" field is not provided, then the "targetname" field is then
609     used in the Discovery Service stage in conjunction with other associated
610     fields. See
611     link:$$http://tools.ietf.org/html/rfc4173#section-5$$[rfc4173].
613 WARNING: Passwords specified on the kernel command line are visible for all
614 users via the file _/proc/cmdline_ and via dmesg or can be sniffed on the
615 network, when using DHCP with DHCP root-path.
617 [listing]
618 .Example
620 root=iscsi:192.168.50.1::::iqn.2009-06.dracut:target0
623 If servername is an IPv6 address, it has to be put in brackets:
625 [listing]
626 .Example
628 root=iscsi:[2001:DB8::1]::::iqn.2009-06.dracut:target0
631 **root=**__???__ **netroot=**iscsi:[__<username>__:__<password>__[:__<reverse>__:__<password>__]@][__<servername>__]:[__<protocol>__]:[__<port>__][:[__<iscsi_iface_name>__]:[__<netdev_name>__]]:[__<LUN>__]:__<targetname>__ ...::
632     multiple netroot options allow setting up multiple iscsi disks:
634 [listing]
635 .Example
637 root=UUID=12424547
638 netroot=iscsi:192.168.50.1::::iqn.2009-06.dracut:target0
639 netroot=iscsi:192.168.50.1::::iqn.2009-06.dracut:target1
642 If servername is an IPv6 address, it has to be put in brackets:
644 [listing]
645 .Example
647 netroot=iscsi:[2001:DB8::1]::::iqn.2009-06.dracut:target0
650 WARNING: Passwords specified on the kernel command line are visible for all
651 users via the file _/proc/cmdline_ and via dmesg or can be sniffed on the
652 network, when using DHCP with DHCP root-path.
653 You may want to use rd.iscsi.firmware.
655 **root=**__???__ **rd.iscsi.initiator=**__<initiator>__ **rd.iscsi.target.name=**__<target name>__  **rd.iscsi.target.ip=**__<target ip>__ **rd.iscsi.target.port=**__<target port>__ **rd.iscsi.target.group=**__<target group>__ **rd.iscsi.username=**__<username>__ **rd.iscsi.password=**__<password>__ **rd.iscsi.in.username=**__<in username>__ **rd.iscsi.in.password=**__<in password>__::
656     manually specify all iscsistart parameter (see **+iscsistartĀ --help+**)
658 WARNING: Passwords specified on the kernel command line are visible for all
659 users via the file _/proc/cmdline_ and via dmesg or can be sniffed on the
660 network, when using DHCP with DHCP root-path.
661 You may want to use rd.iscsi.firmware.
663 **root=**_???_ **netroot=**iscsi **rd.iscsi.firmware=1**::
664  will read the iscsi parameter from the BIOS firmware
666 **rd.iscsi.param=**__<param>__::
667     <param> will be passed as "--param <param>" to iscsistart.
668     This parameter can be specified multiple times.
670 [listing]
671 .Example
673 "netroot=iscsi rd.iscsi.firmware=1 rd.iscsi.param=node.session.timeo.replacement_timeout=30"
676 will result in
678 [listing]
680 iscsistart -b --param node.session.timeo.replacement_timeout=30
683 **rd.iscsi.ibft** **rd.iscsi.ibft=1**:
684     Turn on iBFT autoconfiguration for the interfaces
686 FCoE
687 ~~~~
688 **fcoe=**__<edd|interface|MAC>__:__{dcb|nodcb}__::
689     Try to connect to a FCoE SAN through the NIC specified by _<interface>_ or
690     _<MAC>_ or EDD settings. For the second argument, currently only nodcb is
691     supported. This parameter can be specified multiple times.
693 NOTE: letters in the MAC-address must be lowercase!
697 **root=**??? **netroot=**nbd:__<server>__:__<port>__[:__<fstype>__[:__<mountopts>__[:__<nbdopts>__]]]::
698     mount nbd share from <server>
700 **root=dhcp** with **dhcp** **root-path=**nbd:__<server>__:__<port>__[:__<fstype>__[:__<mountopts>__[:__<nbdopts>__]]]::
701     root=dhcp alone directs initrd to look at the DHCP root-path where NBD
702     options can be specified. This syntax is only usable in cases where you are
703     directly mounting the volume as the rootfs.
705 DASD
706 ~~~~
707 **rd.dasd=**....::
708     same syntax as the kernel module parameter (s390 only)
710 ZFCP
711 ~~~~
712 **rd.zfcp=**__<zfcp adaptor device bus ID>__,__<WWPN>__,__<FCPLUN>__::
713     rd.zfcp can be specified multiple times on the kernel command line.
715 [listing]
716 .Example
718 rd.zfcp=0.0.4000,0x5005076300C213e9,0x5022000000000000
721 **rd.zfcp.conf=0**::
722     ignore zfcp.conf included in the initramfs
724 ZNET
725 ~~~~
726 **rd.znet=**__<nettype>__,__<subchannels>__,__<options>__::
727     rd.znet can be specified multiple times on the kernel command line.
729 [listing]
730 .Example
732 rd.znet=qeth,0.0.0600,0.0.0601,0.0.0602,layer2=1,portname=foo
733 rd.znet=ctc,0.0.0600,0.0.0601,protocol=bar
736 Plymouth Boot Splash
737 ~~~~~~~~~~~~~~~~~~~~
738 **plymouth.enable=0**::
739     disable the plymouth bootsplash completly.
741 **rd.plymouth=0**::
742     disable the plymouth bootsplash only for the initramfs.
744 Kernel keys
745 ~~~~~~~~~~~
746 **masterkey=**__<kernel master key path name>__::
747     Set the path name of the kernel master key.
749 [listing]
750 .Example
752 masterkey=/etc/keys/kmk-trusted.blob
755 **masterkeytype=**__<kernel master key type>__::
756     Set the type of the kernel master key.
758 [listing]
759 .Example
761 masterkeytype=trusted
764 **evmkey=**__<EVM key path name>__::
765     Set the path name of the EVM key.
767 [listing]
768 .Example
770 evmkey=/etc/keys/evm-trusted.blob
773 **ecryptfskey=**__<eCryptfs key path name>__::
774     Set the path name of the eCryptfs key.
776 [listing]
777 .Example
779 ecryptfskey=/etc/keys/ecryptfs-trusted.blob
782 Deprecated, renamed Options
783 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
784 Here is a list of options, which were used in dracut prior to version 008, and
785 their new replacement.
787 rdbreak:: rd.break
789 rd_CCW:: rd.ccw
791 rd_DASD_MOD:: rd.dasd
793 rd_DASD:: rd.dasd
795 rdinitdebug rdnetdebug:: rd.debug
797 rd_NO_DM:: rd.dm=0
799 rd_DM_UUID:: rd.dm.uuid
801 rdblacklist:: rd.driver.blacklist
803 rdinsmodpost:: rd.driver.post
805 rdloaddriver:: rd.driver.pre
807 rd_NO_FSTAB:: rd.fstab=0
809 rdinfo:: rd.info
811 check:: rd.live.check
813 rdlivedebug:: rd.live.debug
815 live_dir:: rd.live.dir
817 liveimg:: rd.live.image
819 overlay:: rd.live.overlay
821 readonly_overlay:: rd.live.overlay.readonly
823 reset_overlay:: rd.live.overlay.reset
825 live_ram:: rd.live.ram
827 rd_NO_CRYPTTAB:: rd.luks.crypttab=0
829 rd_LUKS_KEYDEV_UUID:: rd.luks.keydev.uuid
831 rd_LUKS_KEYPATH:: rd.luks.keypath
833 rd_NO_LUKS:: rd.luks=0
835 rd_LUKS_UUID:: rd.luks.uuid
837 rd_NO_LVMCONF:: rd.lvm.conf
839 rd_LVM_LV:: rd.lvm.lv
841 rd_NO_LVM:: rd.lvm=0
843 rd_LVM_SNAPSHOT:: rd.lvm.snapshot
845 rd_LVM_SNAPSIZE:: rd.lvm.snapsize
847 rd_LVM_VG:: rd.lvm.vg
849 rd_NO_MDADMCONF:: rd.md.conf=0
851 rd_NO_MDIMSM:: rd.md.imsm=0
853 rd_NO_MD:: rd.md=0
855 rd_MD_UUID:: rd.md.uuid
857 rd_NFS_DOMAIN:: rd.nfs.domain
859 iscsi_initiator:: rd.iscsi.initiator
861 iscsi_target_name:: rd.iscsi.target.name
863 iscsi_target_ip:: rd.iscsi.target.ip
865 iscsi_target_port:: rd.iscsi.target.port
867 iscsi_target_group:: rd.iscsi.target.group
869 iscsi_username:: rd.iscsi.username
871 iscsi_password:: rd.iscsi.password
873 iscsi_in_username:: rd.iscsi.in.username
875 iscsi_in_password:: rd.iscsi.in.password
877 iscsi_firmware:: rd.iscsi.firmware=0
879 rd_NO_PLYMOUTH:: rd.plymouth=0
881 rd_retry:: rd.retry
883 rdshell:: rd.shell
885 rd_NO_SPLASH:: rd.splash
887 rdudevdebug:: rd.udev.debug
889 rdudevinfo:: rd.udev.info
891 rd_NO_ZFCPCONF:: rd.zfcp.conf=0
893 rd_ZFCP:: rd.zfcp
895 rd_ZNET:: rd.znet
897 KEYMAP:: vconsole.keymap
899 KEYTABLE:: vconsole.keymap
901 SYSFONT:: vconsole.font
903 CONTRANS:: vconsole.font.map
905 UNIMAP:: vconsole.font.unimap
907 UNICODE:: vconsole.unicode
909 EXT_KEYMAP:: vconsole.keymap.ext
911 Configuration in the Initramfs
912 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
913 _/etc/conf.d/_::
914     Any files found in _/etc/conf.d/_ will be sourced in the initramfs to
915     set initial values. Command line options will override these values
916     set in the configuration files.
918 _/etc/cmdline_::
919     Can contain additional command line options. Deprecated, better use
920     /etc/cmdline.d/*.conf.
922 _/etc/cmdline.d/*.conf_::
923     Can contain additional command line options.
925 AUTHOR
926 ------
927 Harald Hoyer
929 SEE ALSO
930 --------
931 *dracut*(8) *dracut.conf*(5)