You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1230 lines
45 KiB
1230 lines
45 KiB
<?xml version='1.0' encoding='UTF-8'?> |
|
<!-- 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" []> |
|
<refentry id="dracutkernel7"> |
|
<refentryinfo> |
|
<title>dracut.kernel</title> |
|
<productname>dracut</productname> |
|
<authorgroup> |
|
<author> |
|
<contrib>Developer</contrib> |
|
<firstname>Harald</firstname> |
|
<surname>Hoyer</surname> |
|
<email>harald@redhat.com</email> |
|
</author> |
|
</authorgroup> |
|
</refentryinfo> |
|
<refmeta> |
|
<refentrytitle>dracut.kernel</refentrytitle> |
|
<manvolnum>7</manvolnum> |
|
<refmiscinfo class="version"/> |
|
</refmeta> |
|
<refnamediv> |
|
<refname>dracut.kernel</refname> |
|
<refpurpose>dracut kernel command line options</refpurpose> |
|
</refnamediv> |
|
<refsect1> |
|
<title>Description</title> |
|
<para>The root filesystem used by the kernel is specified in the boot configuration |
|
file, as always. The traditional <emphasis remap="B">root=/dev/hda1</emphasis> style device |
|
specification is allowed. If a label is used, as in <emphasis remap="B">root=LABEL=rootPart</emphasis> |
|
the initramfs will search all available devices for an ext2 or ext3 filesystem |
|
with the appropriate label, and mount that device as the root filesystem. |
|
<emphasis remap="B">root=UUID=uuidnumber</emphasis> will mount the partition with that UUID as the |
|
root filesystem.</para> |
|
<refsect2> |
|
<title>Standard</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term> |
|
<envar>init=<replaceable><path to real init></replaceable></envar> |
|
</term> |
|
<listitem> |
|
<para> </para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>root=<replaceable><path to blockdevice></replaceable></envar> |
|
</term> |
|
<listitem> |
|
<para>specify blockdevice to use as root filesystem. |
|
e.g.: <programlisting>root=/dev/sda1 |
|
root=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:1:0-part1 </programlisting></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rootfstype=<replaceable><filesystem type></replaceable></envar> |
|
</term> |
|
<listitem> |
|
<para>"auto" if not specified, e.g.: <programlisting>rootfstype=ext3</programlisting></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rootflags=<replaceable><mount options></replaceable></envar> |
|
</term> |
|
<listitem> |
|
<para>specify additional mount options for the root filesystem. If not set, <filename>/etc/fstab</filename> |
|
of the real root will be parsed for special mount options and mounted |
|
accordingly.</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term><envar>rd.fstab</envar>=0</term> |
|
<listitem> |
|
<para>do not honor special mount options for the root filesystem found in |
|
<filename>/etc/fstab</filename> of the real root.</para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>Misc</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.driver.blacklist=<replaceable><drivername><optional>,<drivername>,...</optional></replaceable></envar> |
|
</term> |
|
<listitem> |
|
<para>do not load kernel module <drivername> |
|
This parameter can be specified multiple times.</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.driver.pre=<replaceable><drivername><optional>,<drivername>,...</optional></replaceable></envar> |
|
</term> |
|
<listitem> |
|
<para>force loading kernel module <drivername> |
|
This parameter can be specified multiple times.</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.driver.post=<replaceable><drivername><optional>,<drivername>,...</optional></replaceable></envar> |
|
</term> |
|
<listitem> |
|
<para>force loading kernel module <drivername> after all automatic loading modules have been loaded. This parameter can be specified multiple times.</para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2 id="dracut-kernel-debug"> |
|
<title>Debug</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.info</envar> |
|
</term> |
|
<listitem> |
|
<para>print informational output though "quiet" is set</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.shell</envar> |
|
</term> |
|
<listitem> |
|
<para>allow dropping to a shell, if root mounting fails</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.debug</envar> |
|
</term> |
|
<listitem> |
|
<para>set -x for the dracut shell and logs to dmesg, console and <filename>/run/initramfs/init.log</filename></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.break</envar> |
|
</term> |
|
<listitem> |
|
<para>drop to a shell at the end</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.break=</envar><replaceable>{cmdline|pre-udev|pre-trigger|initqueue|pre-mount|mount|pre-pivot}</replaceable> |
|
</term> |
|
<listitem> |
|
<para>drop to a shell on defined breakpoint</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.udev.info</envar> |
|
</term> |
|
<listitem> |
|
<para>set udev to loglevel info</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.udev.debug</envar> |
|
</term> |
|
<listitem> |
|
<para>set udev to loglevel debug</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.timestamp</envar> |
|
</term> |
|
<listitem> |
|
<para>export RDTIMESTAMP environment variable to init, which is set to the uptime of the dracut start.</para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>I18N</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term> |
|
<envar>voonsole.keymap=</envar> |
|
<replaceable><keymap base file name></replaceable> |
|
</term> |
|
<listitem> |
|
<para>keyboard translation table loaded by loadkeys; taken from keymaps directory; will be written as <envar>KEYMAP</envar> to <filename>/etc/vconsole.conf</filename> in the initramfs, e.g.: <programlisting>vconsole.keymap=de-latin1-nodeadkeys</programlisting></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>vconsole.keymap.ext=</envar><replaceable><list of keymap base file names></replaceable> |
|
</term> |
|
<listitem> |
|
<para>list of extra keymaps to bo loaded (sep. by space); will be written as <envar>EXT_KEYMAP</envar> to <filename>/etc/vconsole.conf</filename> in the initramfs</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>vconsole.unicode=</envar><replaceable><1|0></replaceable> |
|
</term> |
|
<listitem> |
|
<para>boolean, indicating UTF-8 mode; will be written as <envar>UNICODE</envar> to <filename>/etc/vconsole.conf</filename> in the initramfs</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>vconsole.font=</envar><replaceable><font base file name></replaceable> |
|
</term> |
|
<listitem> |
|
<para>console font; taken from consolefonts directory; will be written as <envar>FONT</envar> to <filename>/etc/vconsole.conf</filename> in the initramfs; e.g.: <programlisting>vconsole.font=LatArCyrHeb-16</programlisting></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>vconsole.font.map=</envar><replaceable><console map base file name></replaceable> |
|
</term> |
|
<listitem> |
|
<para>see description of '-m' parameter in setfont manual; taken from consoletrans directory; will be written as <envar>FONT_MAP</envar> to <filename>/etc/vconsole.conf</filename> in the initramfs</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>vconsole.font.unimap=</envar><replaceable><unicode table base file name></replaceable> |
|
</term> |
|
<listitem> |
|
<para>see description of '-u' parameter in setfont manual; taken from unimaps directory; will be written as <envar>FONT_UNIMAP</envar> to <filename>/etc/vconsole.conf</filename> in the initramfs</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>locale.LANG=</envar><replaceable><locale></replaceable> |
|
</term> |
|
<listitem> |
|
<para>taken from the environment; if no UNICODE is defined we set its value in basis of LANG value (whether it ends with ".utf8" (or similar) or not); will be written as <envar>LANG</envar> to <filename>/etc/locale.conf</filename> in the initramfs; e.g.: <programlisting>locale.LANG=pl_PL.utf8</programlisting></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>locale.LC_ALL=</envar><replaceable><locale></replaceable> |
|
</term> |
|
<listitem> |
|
<para>taken from the environment; will be written as <envar>LC_ALL</envar> to <filename>/etc/locale.conf</filename> in the initramfs</para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>LVM</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term><envar>rd.lvm</envar>=0</term> |
|
<listitem> |
|
<para>disable LVM detection</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.lvm.vg=<replaceable><volume group name></replaceable></envar> |
|
</term> |
|
<listitem> |
|
<para>only activate the volume groups with the given name |
|
<envar>rd.lvm.vg</envar> can be specified multiple times on the kernel command line.</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.lvm.lv=<replaceable><logical volume name></replaceable></envar> |
|
</term> |
|
<listitem> |
|
<para>only activate the logical volumes with the given name |
|
<envar>rd.lvm.lv</envar> can be specified multiple times on the kernel command line.</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.lvm.conf</envar>=0 |
|
</term> |
|
<listitem> |
|
<para>remove any <filename>/etc/lvm/lvm.conf</filename>, which may exist in the initramfs</para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>crypto LUKS</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term><envar>rd.luks</envar>=0</term> |
|
<listitem> |
|
<para>disable crypto LUKS detection</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.luks.uuid=<replaceable><luks uuid></replaceable></envar> |
|
</term> |
|
<listitem> |
|
<para>only activate the LUKS partitions with the given UUID |
|
Any "luks-" of the LUKS UUID is removed before comparing to <replaceable><luks uuid></replaceable>. |
|
The comparisons also matches, if <replaceable><luks uuid></replaceable> is only the beginning of the |
|
LUKS UUID, so you don't have to specify the full UUID. |
|
This parameter can be specified multiple times.</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.luks.crypttab</envar>=0 |
|
</term> |
|
<listitem> |
|
<para>do not check, if LUKS partition is in <filename>/etc/crypttab</filename></para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>crypto LUKS - key on removable device support</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.luks.key=</envar><replaceable><keypath>:<keydev>:<luksdev></replaceable> |
|
</term> |
|
<listitem> |
|
<para><replaceable>keypath</replaceable> is a path to key file to look for. It's REQUIRED.</para> |
|
<para><replaceable>keydev</replaceable> is a device on which key file resides. It might be kernel name of devices (should start with "/dev/"), UUID (prefixed with "UUID=") or label (prefix with "LABEL="). You don't have to specify full UUID. Just its beginning will suffice, even if its ambiguous. All matching devices will be probed. This parameter is recommended, but not required. If not present, all block devices will be probed, which may significantly increase boot time.</para> |
|
<para>If <replaceable>luksdev</replaceable> is given, the specified key will only be applied for that LUKS device. Possible values are the same as for <replaceable>keydev</replaceable>. Unless you have several LUKS devices, you don't have to specify this parameter.</para> |
|
<para>The simplest usage is:</para> |
|
<programlisting>rd.luks.key=/foo/bar.key</programlisting> |
|
<para>As you see, you can skip colons in such case.</para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>MD</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term><envar>rd.md</envar>=0</term> |
|
<listitem> |
|
<para>disable MD RAID detection</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term><envar>rd.md.imsm</envar>=0</term> |
|
<listitem> |
|
<para>disable MD RAID for imsm/isw raids, use DM RAID instead</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.md.conf</envar>=0 |
|
</term> |
|
<listitem> |
|
<para>ignore mdadm.conf included in initramfs</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.md.uuid=<replaceable><md raid uuid></replaceable></envar> |
|
</term> |
|
<listitem> |
|
<para>only activate the raid sets with the given UUID. |
|
This parameter can be specified multiple times.</para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>DM RAID</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term><envar>rd.dm</envar>=0</term> |
|
<listitem> |
|
<para>disable DM RAID detection</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.dm.uuid=<replaceable><dm raid uuid></replaceable></envar> |
|
</term> |
|
<listitem> |
|
<para>only activate the raid sets with the given UUID. |
|
This parameter can be specified multiple times.</para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>Network</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term> |
|
<envar>ip=</envar><replaceable>{dhcp|on|any|dhcp6|auto6|ibft}</replaceable> |
|
</term> |
|
<listitem> |
|
<para>dhcp|on|any: get ip from dhcp server from all interfaces. If root=dhcp, |
|
loop sequentially through all interfaces (eth0, eth1, ...) and use the first |
|
with a valid DHCP root-path.</para> |
|
<para><constant>auto6</constant>: IPv6 autoconfiguration</para> |
|
<para><constant>dhcp6</constant>: IPv6 DHCP</para> |
|
<para><constant>ibft</constant>: iBFT autoconfiguration</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term><envar>ip=</envar><replaceable><interface></replaceable>:<replaceable>{dhcp|on|any|dhcp6|auto6}</replaceable></term> |
|
<listitem> |
|
<para>dhcp|on|any|dhcp6: get ip from dhcp server on a specific interface |
|
auto6: do IPv6 autoconfiguration |
|
This parameter can be specified multiple times.</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term><envar>ip=</envar><replaceable><client-IP></replaceable>:<optional> |
|
<replaceable><server-id></replaceable> |
|
</optional>:<replaceable><gateway-IP></replaceable>:<replaceable><netmask></replaceable>:<replaceable><client_hostname></replaceable>:<replaceable><interface></replaceable>:<replaceable>{none|off}</replaceable></term> |
|
<listitem> |
|
<para>explicit network configuration. If you want do define a IPv6 address, put it in brackets (e.g. [2001:DB8::1]). |
|
This parameter can be specified multiple times.</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term><envar>ifname=</envar><replaceable><interface></replaceable>:<replaceable><MAC></replaceable></term> |
|
<listitem> |
|
<para>Assign network device name <interface> (ie eth0) to the NIC with MAC <MAC>. |
|
Note letters in the MAC-address must be lowercase! |
|
<remark>Note: If you use this option you <emphasis remap="B">must</emphasis> specify an ifname= argument for all interfaces used in ip= or fcoe= arguments.</remark> |
|
This parameter can be specified multiple times.</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>bootdev=</envar><replaceable><interface></replaceable> |
|
</term> |
|
<listitem> |
|
<para>specify network interface to use routing and netroot information from. |
|
Required if multiple ip= lines are used.</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>nameserver=</envar><replaceable><IP></replaceable><optional><envar>nameserver</envar>=<replaceable><IP></replaceable> ...</optional> |
|
</term> |
|
<listitem> |
|
<para>specify nameserver(s) to use</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>biosdevname=</envar><replaceable>{0|1}</replaceable> |
|
</term> |
|
<listitem> |
|
<para>turn on/off biosdevname network interface renaming</para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>NFS</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term> |
|
<envar>root=</envar><optional><replaceable><server-ip></replaceable>:</optional><replaceable><root-dir></replaceable><optional>:<replaceable><nfs-options></replaceable></optional> |
|
</term> |
|
<listitem> |
|
<para>mount nfs share from <server-ip>:/<root-dir>, if no server-ip is given, |
|
use dhcp next_server. if server-ip is an IPv6 address it has to be put in brackets, e.g. [2001:DB8::1]. |
|
NFS options can be appended with the prefix ":" or "," and are seperated by ",".</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term><envar>root=</envar><constant>nfs</constant>:<optional><replaceable><server-ip></replaceable>:</optional><replaceable><root-dir></replaceable><optional>:<replaceable><nfs-options></replaceable></optional></term> |
|
<term><envar>root=</envar>nfs4:<optional><replaceable><server-ip></replaceable>:</optional><replaceable><root-dir></replaceable><optional>:<replaceable><nfs-options></replaceable></optional></term> |
|
<term> |
|
<envar>root=</envar><replaceable>{dhcp|dhcp6}</replaceable> |
|
</term> |
|
<listitem> |
|
<para>root=dhcp alone directs initrd to look at the DHCP root-path where NFS |
|
options can be specified. |
|
root-path=<server-ip>:<root-dir>[,<nfs-options>] |
|
root-path=nfs:<server-ip>:<root-dir>[,<nfs-options>] |
|
root-path=nfs4:<server-ip>:<root-dir>[,<nfs-options>]</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>root=</envar><filename>/dev/nfs</filename> |
|
<envar> nfsroot=</envar><optional><replaceable><server-ip></replaceable>:</optional><replaceable><root-dir></replaceable><optional>:<replaceable><nfs-options></replaceable></optional> |
|
</term> |
|
<listitem> |
|
<para><emphasis remap="B">Deprecated!</emphasis> kernel Documentation<filename>/filesystems/nfsroot.txt</filename> defines |
|
this method. |
|
This is supported by dracut, but not recommended.</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar remap="B">rd.nfs.domain=</envar> |
|
<replaceable><NFSv4 domain name></replaceable> |
|
</term> |
|
<listitem> |
|
<para>Set the NFSv4 domain name. Will overwrite the settings in <filename>/etc/idmap.conf</filename>.</para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>iSCSI</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term><envar>root=</envar><constant>iscsi</constant>:<optional><replaceable><username></replaceable>:<replaceable><password></replaceable><optional>:<replaceable><reverse></replaceable>:<replaceable><password></replaceable></optional>@</optional><optional> |
|
<replaceable><servername></replaceable> |
|
</optional>:<optional> |
|
<replaceable><protocol></replaceable> |
|
</optional>:<optional> |
|
<replaceable><port></replaceable> |
|
</optional>:<optional> |
|
<replaceable><LUN></replaceable> |
|
</optional>:<replaceable><targetname></replaceable></term> |
|
<listitem> |
|
<para>protocol defaults to "6", LUN defaults to "0".</para> |
|
<para>If the "servername" field is provided by <acronym>BOOTP</acronym> or <acronym>DHCP</acronym>, then that |
|
field is used in conjunction with other associated fields to contact |
|
the boot server in the Boot stage. However, if the |
|
"servername" field is not provided, then the "targetname" field is |
|
then used in the Discovery Service stage in conjunction with other |
|
associated fields.</para> |
|
<para>See <ulink url="http://tools.ietf.org/html/rfc4173#section-5">http://tools.ietf.org/html/rfc4173</ulink>.</para> |
|
<para>e.g.:<programlisting>root=iscsi:192.168.50.1::::iqn.2009-06.dracut:target0 </programlisting></para> |
|
<para>If servername is an IPv6 address, it has to be put in brackets. e.g.: |
|
<programlisting>root=iscsi:[2001:DB8::1]::::iqn.2009-06.dracut:target0 </programlisting></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term><envar>root=</envar><replaceable>???</replaceable><envar> netroot=</envar><constant>iscsi</constant>:<optional><replaceable><username></replaceable>:<replaceable><password></replaceable><optional>:<replaceable><reverse></replaceable>:<replaceable><password></replaceable></optional>@</optional><optional> |
|
<replaceable><servername></replaceable> |
|
</optional>:<optional> |
|
<replaceable><protocol></replaceable> |
|
</optional>:<optional> |
|
<replaceable><port></replaceable> |
|
</optional>:<optional> |
|
<replaceable><LUN></replaceable> |
|
</optional>:<replaceable><targetname></replaceable> ...</term> |
|
<listitem> |
|
<para>multiple netroot options allow setting up multiple iscsi disks. e.g.: |
|
<programlisting>root=UUID=12424547 |
|
netroot=iscsi:192.168.50.1::::iqn.2009-06.dracut:target0 |
|
netroot=iscsi:192.168.50.1::::iqn.2009-06.dracut:target1 </programlisting></para> |
|
<para>If servername is an IPv6 address, it has to be put in brackets. |
|
e.g.: |
|
<programlisting>netroot=iscsi:[2001:DB8::1]::::iqn.2009-06.dracut:target0</programlisting></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>root=<replaceable>???</replaceable></envar> |
|
<envar>rd.iscsi.initiator=<replaceable><initiator> </replaceable></envar> |
|
<envar>rd.iscsi.target.name=<replaceable><target name> </replaceable></envar> |
|
<envar>rd.iscsi.target.ip=<replaceable><target ip> </replaceable></envar> |
|
<envar>rd.iscsi.target.port=<replaceable><target port> </replaceable></envar> |
|
<envar>rd.iscsi.target.group=<replaceable><target group> </replaceable></envar> |
|
<envar>rd.iscsi.username=<replaceable><username> </replaceable></envar> |
|
<envar>rd.iscsi.password=<replaceable><password> </replaceable></envar> |
|
<envar>rd.iscsi.in.username=<replaceable><in username> </replaceable></envar> |
|
<envar>rd.iscsi.in.password=<replaceable><in password> </replaceable></envar> |
|
</term> |
|
<listitem> |
|
<para>manually specify all iscsistart parameter (see <userinput>iscsistart --help</userinput>)</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>root=</envar><replaceable>??? </replaceable><envar>rd.iscsi.firmware=1</envar> |
|
</term> |
|
<listitem> |
|
<para>will read the iscsi parameter from the BIOS firmware</para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>FCoE</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term><envar>fcoe=</envar><replaceable><edd|interface|MAC></replaceable>:<replaceable>{dcb|nodcb}</replaceable></term> |
|
<listitem> |
|
<para>Try to connect to a FCoE SAN through the NIC specified by <replaceable><interface></replaceable> or <replaceable><MAC></replaceable> or EDD settings. |
|
For the second argument, currently only nodcb is supported. This parameter can be specified multiple times. <remark>Note: letters in the MAC-address must be lowercase!</remark></para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>NBD</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term><envar>root=</envar><constant>nbd</constant>:<replaceable><server></replaceable>:<replaceable><port></replaceable><optional>:<replaceable><fstype></replaceable></optional><optional>:<replaceable><mountopts></replaceable></optional></term> |
|
<listitem> |
|
<para>mount nbd share from <server></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>root=dhcp</envar> |
|
</term> |
|
<listitem> |
|
<para>with dhcp root-path=nbd:<server>:<port>[:<fstype>][:<mountopts>] |
|
root=dhcp alone directs initrd to look at the DHCP root-path where NBD |
|
options can be specified. |
|
This syntax is only usable in cases where you are directly mounting the volume |
|
as the rootfs.</para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>DASD</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term><envar>rd.dasd_mod.dasd=</envar>....</term> |
|
<listitem> |
|
<para>same syntax as the kernel module parameter (s390 only)</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.dasd=</envar><replaceable><dasd_adaptor device bus ID></replaceable><optional>,readonly=<replaceable>X</replaceable></optional><optional>,use_diag=<replaceable>X</replaceable></optional><optional>,erplog=<replaceable>X</replaceable></optional> |
|
</term> |
|
<listitem> |
|
<para>activate DASD device with the given adaptor device bus ID and setting the sysfs attributes |
|
to the specified values |
|
This parameter can be specified multiple times.</para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>ZFCP</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term><envar>rd.zfcp=</envar><replaceable><zfcp adaptor device bus ID></replaceable>,<replaceable><WWPN></replaceable>,<replaceable><FCPLUN></replaceable></term> |
|
<listitem> |
|
<para>rd.zfcp can be specified multiple times on the kernel command line. e.g.: <programlisting>rd.zfcp=0.0.4000,0x5005076300C213e9,0x5022000000000000</programlisting></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd.zfcp.conf</envar> |
|
</term> |
|
<listitem> |
|
<para>ignore zfcp.conf included in the initramfs</para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>ZNET</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term><envar>rd.znet=</envar><replaceable><nettype></replaceable>,<replaceable><subchannels></replaceable>,<replaceable><options></replaceable></term> |
|
<listitem> |
|
<para>rd.znet can be specified multiple times on the kernel command line. e.g.: |
|
<programlisting>rd.znet=qeth,0.0.0600,0.0.0601,0.0.0602,layer2=1,portname=foo |
|
rd.znet=ctc,0.0.0600,0.0.0601,0.0.0602,protocol=bar</programlisting></para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>Plymouth Boot Splash</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term><envar>rd.plymouth</envar>=0</term> |
|
<listitem> |
|
<para>disable plymouth. This will not work with encrypted partitions.</para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
<refsect2> |
|
<title>Deprecated, renamed Options</title> |
|
<para>Here is a list of options, which were used in dracut prior to version 008, and their new replacement.</para> |
|
<variablelist> |
|
<varlistentry> |
|
<term> |
|
<envar>rdbreak</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.break</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_CCW</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.ccw</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rdcopystate</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.copystate</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_DASD_MOD</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.dasd_mod.dasd</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_DASD</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.dasd</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rdinitdebug rdnetdebug</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.debug</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_NO_DM</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.dm</envar>=0</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_DM_UUID</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.dm.uuid</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rdblacklist</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.driver.blacklist</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rdinsmodpost</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.driver.post</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rdloaddriver</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.driver.pre</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_NO_FSTAB</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.fstab</envar>=0</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rdinfo</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.info</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>check</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.live.check</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rdlivedebug</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.live.debug</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>live_dir</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.live.dir</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>liveimg</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.live.image</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>overlay</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.live.overlay</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>readonly_overlay</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.live.overlay.readonly</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>reset_overlay</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.live.overlay.reset</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>live_ram</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.live.ram</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_NO_CRYPTTAB</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.luks.crypttab</envar>=0</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_LUKS_KEYDEV_UUID</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.luks.keydev.uuid</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_LUKS_KEYPATH</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.luks.keypath</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_NO_LUKS</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.luks</envar>=0</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_LUKS_UUID</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.luks.uuid</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_NO_LVMCONF</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.lvm.conf</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_LVM_LV</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.lvm.lv</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_NO_LVM</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.lvm</envar>=0</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_LVM_SNAPSHOT</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.lvm.snapshot</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_LVM_SNAPSIZE</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.lvm.snapsize</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_LVM_VG</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.lvm.vg</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_NO_MDADMCONF</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.md.conf</envar>=0</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_NO_MDIMSM</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.md.imsm</envar>=0</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_NO_MD</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.md</envar>=0</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_MD_UUID</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.md.uuid</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_NFS_DOMAIN</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.nfs.domain</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>iscsi_initiator</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.iscsi.initiator</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>iscsi_target_name</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.iscsi.target.name</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>iscsi_target_ip</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.iscsi.target.ip</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>iscsi_target_port</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.iscsi.target.port</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>iscsi_target_group</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.iscsi.target.group</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>iscsi_username</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.iscsi.username</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>iscsi_password</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.iscsi.password</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>iscsi_in_username</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.iscsi.in.username</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>iscsi_in_password</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.iscsi.in.password</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>iscsi_firmware</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.iscsi.firmware</envar>=0</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_NO_PLYMOUTH</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.plymouth</envar>=0</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_retry</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.retry</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rdshell</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.shell</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_NO_SPLASH</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.splash</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rdudevdebug</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.udev.debug</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rdudevinfo</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.udev.info</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_NO_ZFCPCONF</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.zfcp.conf</envar>=0</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_ZFCP</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.zfcp</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>rd_ZNET</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>rd.znet</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>KEYMAP</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>vconsole.keymap</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>KEYTABLE</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>vconsole.keymap</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>SYSFONT</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>vconsole.font</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>CONTRANS</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>vconsole.font.map</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>UNIMAP</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>vconsole.font.unimap</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>UNICODE</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>vconsole.unicode</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<envar>EXT_KEYMAP</envar> |
|
</term> |
|
<listitem> |
|
<para><envar>vconsole.keymap.ext</envar></para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect2> |
|
</refsect1> |
|
<refsect1> |
|
<title>Configuration in the Initramfs</title> |
|
<variablelist> |
|
<varlistentry> |
|
<term> |
|
<filename>/etc/conf.d/</filename> |
|
</term> |
|
<listitem> |
|
<para>Any files found in <filename>/etc/conf.d/</filename> will be sourced in the initramfs to |
|
set initial values. Command line options will override these values |
|
set in the configuration files.</para> |
|
</listitem> |
|
</varlistentry> |
|
<varlistentry> |
|
<term> |
|
<filename>/etc/cmdline</filename> |
|
</term> |
|
<listitem> |
|
<para>Can contain additional command line options.</para> |
|
</listitem> |
|
</varlistentry> |
|
</variablelist> |
|
</refsect1> |
|
<refsect1> |
|
<title>See Also</title> |
|
<para> |
|
<citerefentry> |
|
<refentrytitle>dracut</refentrytitle> |
|
<manvolnum>8</manvolnum> |
|
</citerefentry> |
|
<citerefentry> |
|
<refentrytitle>dracut.conf</refentrytitle> |
|
<manvolnum>5</manvolnum> |
|
</citerefentry> |
|
</para> |
|
</refsect1> |
|
</refentry>
|
|
|