(→NFS) |
(→NFS) |
||
Line 83: | Line 83: | ||
<pre>root=[<server-ip>:]<root-dir>[:<nfs-options>]</pre> | <pre>root=[<server-ip>:]<root-dir>[:<nfs-options>]</pre> | ||
<pre>root=nfs:[<server-ip>:]<root-dir>[:<nfs-options>]</pre> | |||
<pre>root=nfs4:[<server-ip>:]<root-dir>[:<nfs-options>]</pre> | |||
{{admon/note|Mount nfs share from <server-ip>:/<root-dir> If no server-ip is given use dhcp next_server. nfs-options can be appended with the prefix ":" or ","}} | {{admon/note|Mount nfs share from <server-ip>:/<root-dir> If no server-ip is given use dhcp next_server. nfs-options can be appended with the prefix ":" or ","}} | ||
<pre>root=dhcp</pre> | <pre>root=dhcp</pre> | ||
<pre>root=dhcp root-path=<server-ip>:<root-dir>[,<nfs-options>]</pre> | |||
<pre>root=dhcp root-path=nfs:<server-ip>:<root-dir>[,<nfs-options>]</pre> | |||
<pre>root=dhcp root-path=nfs4:<server-ip>:<root-dir>[,<nfs-options>]</pre> | |||
{{admon/note|2='''root=dhcp alone directs initrd to look at the DHCP root-path where NFS options can be specified.'''}} | {{admon/note|2='''root=dhcp alone directs initrd to look at the DHCP root-path where NFS options can be specified.'''}} | ||
<pre>root=/dev/nfs nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]</pre> | <pre>root=/dev/nfs nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]</pre> | ||
{{admon/warning| Deprecated! Kernel Documentation/filesystems/nfsroot.txt defines this method. This is supported by dracut but not recommended.}} | {{admon/warning| Deprecated! Kernel Documentation/filesystems/nfsroot.txt defines this method. This is supported by dracut but not recommended.}} | ||
== iSCSI == | == iSCSI == |
Revision as of 16:38, 17 July 2009
Options
SYNOPSIS
dracut [OPTION]... <image> <kernel-version>
-f, --force
-f, --force
-m, --modules
-m, --modules LIST
-o, --omit
-o, --omit LIST
-a, --add
-a, --add LIST
-d, --drivers
-d, --drivers LIST
-h, --help
-h, --help
--debug
--debug
v, --verbose
v, --verbose
-c, --conf
-c, --conf FILE
-l, --local
-l, --local
-H, --hostonly
-H, --hostonly
-i, --include
-i, --include SOURCE TARGET
-I, --install
-I, --install LIST
Dracut kernel command line parameters
The root filesystem used by the kernel is specified in the boot configuration file, as always. The traditional root=/dev/hda1 style device specification is allowed. If a label is used, as in root=LABEL=rootPart the initrd will search all available devices for an ext2 or ext3 filesystem with the appropriate label, and mount that device as the root filesystem. root=UUID=uuidnumber will mount the partition with that UUID as the root filesystem.
Limitations
- Command line length: 2048
- dhcp root-path: 255
Standard
init=<path to real init>
root=<path to blockdevice>
I18N
KEYBOARDTYPE=sun|pc
KEYTABLE=<keytable filename>
SYSFONT= Console font
SYSFONTACM= Unicode font map
UNIMAP= Unicode font map
LANG=<locale>
DHCP
root=dhcp
NFS
root=[<server-ip>:]<root-dir>[:<nfs-options>]
root=nfs:[<server-ip>:]<root-dir>[:<nfs-options>]
root=nfs4:[<server-ip>:]<root-dir>[:<nfs-options>]
root=dhcp
root=dhcp root-path=<server-ip>:<root-dir>[,<nfs-options>]
root=dhcp root-path=nfs:<server-ip>:<root-dir>[,<nfs-options>]
root=dhcp root-path=nfs4:<server-ip>:<root-dir>[,<nfs-options>]
root=/dev/nfs nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]
iSCSI
root=iscsi:[<servername>]:[<protocol>]:[<port>]:[<LUN>]:<targetname>::
root=??? iscsiroot=...::
root=??? iscsi_initiator= iscsi_target_name= iscsi_target_ip= iscsi_target_port= iscsi_target_group= iscsi_username= iscsi_password= iscsi_in_username= iscsi_in_password=::
root=??? iscsi_firmware::
NBD
root=nbd:<server>:<port>[:<fstype>][:<mountopts>]
root=dhcp
Network
ip=[dhcp|on|any]
ip=<interface>:[dhcp|on|any]
ip=<client-IP-number>:<gateway-IP-number>:<netmask>:<client-hostname>:<interface>:[dhcp|on|any|]
Misc
rdblacklist=<modulename>
Debug
rdinitdebug
rdinitdebug
rdbreak=[pre-udev|pre-mount|mount|pre-pivot|]
rdudevinfo
rdudevdebug
rdnetdebug
Configuration in initrd
/conf/conf.d/*