</varlistentry>
<varlistentry>
<term>
- <envar>rd.break=</envar>
- <replaceable>{cmdline|pre-udev|pre-trigger|initqueue|pre-mount|mount|pre-pivot}</replaceable>
+ <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>
</varlistentry>
<varlistentry>
<term>
- <envar>vconsole.keymap.ext=</envar>
- <replaceable><list of keymap base file names></replaceable>
+ <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>
</varlistentry>
<varlistentry>
<term>
- <envar>vconsole.font.unicode=</envar>
- <replaceable><1|0></replaceable>
+ <envar>vconsole.font.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>
</varlistentry>
<varlistentry>
<term>
- <envar>vconsole.font=</envar>
- <replaceable><font base file name></replaceable>
+ <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>
</varlistentry>
<varlistentry>
<term>
- <envar>vconsole.font.map=</envar>
- <replaceable><console map base file name></replaceable>
+ <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>
</varlistentry>
<varlistentry>
<term>
- <envar>vconsole.font.unimap=</envar>
- <replaceable><unicode table base file name></replaceable>
+ <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>
</varlistentry>
<varlistentry>
<term>
- <envar>locale.LANG=</envar>
- <replaceable><locale></replaceable>
+ <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>
</varlistentry>
<varlistentry>
<term>
- <envar>locale.LC_ALL=</envar>
- <replaceable><locale></replaceable>
+ <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>
</varlistentry>
<varlistentry>
<term>
- <envar>rd.lvm.conf</envar>
+ <envar>rd.lvm.conf</envar>=0
</term>
<listitem>
<para>remove any <filename>/etc/lvm/lvm.conf</filename>, which may exist in the initramfs</para>
</varlistentry>
<varlistentry>
<term>
- <envar>rd.luks.crypttab</envar>
+ <envar>rd.luks.crypttab</envar>=0
</term>
<listitem>
<para>do not check, if LUKS partition is in <filename>/etc/crypttab</filename></para>
<variablelist>
<varlistentry>
<term>
- <envar>rd.luks.key=</envar>
- <replaceable><keypath>:<keydev>:<luksdev></replaceable>
+ <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>
</varlistentry>
<varlistentry>
<term>
- <envar>rd.md.conf</envar>
+ <envar>rd.md.conf</envar>=0
</term>
<listitem>
<para>ignore mdadm.conf included in initramfs</para>
<variablelist>
<varlistentry>
<term>
- <envar>ip=</envar>
- <replaceable>{dhcp|on|any|dhcp6|auto6}</replaceable>
+ <envar>ip=</envar><replaceable>{dhcp|on|any|dhcp6|auto6}</replaceable>
</term>
<listitem>
<para>dhcp|on|any: get ip from dhcp server from all interfaces. If root=dhcp,
</varlistentry>
<varlistentry>
<term>
- <envar>bootdev=</envar>
- <replaceable><interface></replaceable>
+ <envar>bootdev=</envar><replaceable><interface></replaceable>
</term>
<listitem>
<para>specify network interface to use routing and netroot information from.
</varlistentry>
<varlistentry>
<term>
- <envar>nameserver=</envar>
- <replaceable><IP></replaceable>
- <optional><envar>nameserver</envar>=<replaceable><IP></replaceable> ...</optional>
+ <envar>nameserver=</envar><replaceable><IP></replaceable><optional><envar>nameserver</envar>=<replaceable><IP></replaceable> ...</optional>
</term>
<listitem>
<para>specify nameserver(s) to use</para>
<variablelist>
<varlistentry>
<term>
- <envar>root=</envar>
- <optional><replaceable><server-ip></replaceable>:</optional>
- <replaceable><root-dir></replaceable>
- <optional>:<replaceable><nfs-options></replaceable></optional>
+ <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,
<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>
+ <envar>root=</envar><replaceable>{dhcp|dhcp6}</replaceable>
</term>
<listitem>
<para>root=dhcp alone directs initrd to look at the DHCP root-path where NFS
</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>
+ <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
<varlistentry>
<term>
<envar>root=<replaceable>???</replaceable></envar>
- <envar> iscsi_initiator=<replaceable><initiator> </replaceable></envar>
- <envar>iscsi_target_name=<replaceable><target_name> </replaceable></envar>
- <envar>iscsi_target_ip=<replaceable><target ip> </replaceable></envar>
- <envar>iscsi_target_port=<replaceable><target port> </replaceable></envar>
- <envar>iscsi_target_group=<replaceable><target group> </replaceable></envar>
- <envar>iscsi_username=<replaceable><username> </replaceable></envar>
- <envar>iscsi_password=<replaceable><password> </replaceable></envar>
- <envar>iscsi_in_username=<replaceable><in username> </replaceable></envar>
- <envar>iscsi_in_password=<replaceable><in password> </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>???<envar> iscsi_firmware</envar></term>
+ <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>
<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>
+ <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
</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>
[ -e /tmp/root.info ] && . /tmp/root.info
-if getarg iscsi_firmware ; then
+if getargbool 0 rd.iscsi.firmware -y iscsi_firmware ; then
if [ -n "${root%%block:*}" ]; then
# if root is not specified try to mount the whole iSCSI LUN
printf 'ENV{DEVTYPE}!="partition", SYMLINK=="disk/by-path/*-iscsi-*-*", SYMLINK+="root"\n' >> /etc/udev/rules.d/99-iscsi-root.rules
fi
# override conf settings by command line options
-arg=$(getarg iscsi_initiator)
+arg=$(getargs rd.iscsi.initiator iscsi_initiator=)
[ -n "$arg" ] && iscsi_initiator=$arg
-arg=$(getarg iscsi_target_name)
+arg=$(getargs rd.iscsi.target.name iscsi_target_name=)
[ -n "$arg" ] && iscsi_target_name=$arg
-arg=$(getarg iscsi_target_ip)
+arg=$(getargs rd.iscsi.target.ip iscsi_target_ip)
[ -n "$arg" ] && iscsi_target_ip=$arg
-arg=$(getarg iscsi_target_port)
+arg=$(getargs rd.iscsi.target.port iscsi_target_port=)
[ -n "$arg" ] && iscsi_target_port=$arg
-arg=$(getarg iscsi_target_group)
+arg=$(getargs rd.iscsi.target.group iscsi_target_group=)
[ -n "$arg" ] && iscsi_target_group=$arg
-arg=$(getarg iscsi_username)
+arg=$(getargs rd.iscsi.username iscsi_username=)
[ -n "$arg" ] && iscsi_username=$arg
-arg=$(getarg iscsi_password)
+arg=$(getargs rd.iscsi.password iscsi_password)
[ -n "$arg" ] && iscsi_password=$arg
-arg=$(getarg iscsi_in_username)
+arg=$(getargs rd.iscsi.in.username iscsi_in_username=)
[ -n "$arg" ] && iscsi_in_username=$arg
-arg=$(getarg iscsi_in_password)
+arg=$(getargs rd.iscsi.in.password iscsi_in_password=)
[ -n "$arg" ] && iscsi_in_password=$arg
handle_netroot()