(→Debug) |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
<!--{{header|dracut}}--> | <!--{{header|dracut}}--> | ||
<pre>f, --force</pre> | |||
{{admon/note|Overwrite existing initramfs file.}} | |||
<pre>-m, --modules LIST</pre> | |||
{{admon/note|Specify a space-separated list of dracut modules to call when building the initramfs. Modules are located in /usr/share/dracut/modules.d.}} | |||
<pre>-o, --omit LIST</pre> | |||
{{admon/note|Omit a space-separated list of dracut modules.}} | |||
<pre>-a, --add LIST</pre> | |||
{{admon/note|Add a space-separated list of dracut modules.}} | |||
<pre>-d, --drivers LIST</pre> | |||
{{admon/note|Specify a space-separated list of kernel modules to include in the initramfs.}} | |||
<pre>-h, --help</pre | |||
{{admon/note|Display help text and exit.}} | |||
<pre>--debug</pre> | |||
{{admon/note|Output debug information of the build process}} | |||
<pre>v, --verbose</pre> | |||
{{admon/note|Verbose output during the build process}} | |||
<pre>-c, --conf FILE</pre> | |||
{{admon/note|Specify configuration file to use. Default: /etc/dracut.conf}} | |||
<pre>-l, --local</pre> | |||
{{admon/note|Local mode. Use modules from the current working directory instead of the system-wide installed in /usr/share/dracut/modules.d. Useful when running dracut from a git checkout.}} | |||
<pre>-H, --hostonly</pre> | |||
{{admon/note|Host-Only mode: Install only what is needed for booting the local host instead of a generic host.}} | |||
<pre>-i, --include SOURCE TARGET</pre> | |||
{{admon/note|Include the files in the SOURCE directory into the target directory in the final initramfs.}} | |||
</pre>-I, --install LIST </pre | |||
{{admon/note|Install the space separated list of files into the initramfs.}} | |||
= Dracut kernel command line parameters = | = Dracut kernel command line parameters = | ||
Revision as of 16:02, 17 July 2009
f, --force
-m, --modules LIST
-o, --omit LIST
-a, --add LIST
-d, --drivers LIST
-h, --help</pre {{admon/note|Display help text and exit.}} <pre>--debug
v, --verbose
-c, --conf FILE
-l, --local
-H, --hostonly
-i, --include SOURCE TARGET
-I, --install LIST </pre
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>
DHCP
root=dhcp
NFSv3
root=[<server-ip>:]<root-dir>[:<nfs-options>]
root=dhcp
root-path=<server-ip>:<root-dir>[,<nfs-options>]
Deprecated
root=/dev/nfs nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]
NFSv4
root=nfs4:[<server-ip>:]<root-dir>[:<nfs-options>]
root=dhcp
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/*