(→Debug) |
|||
Line 76: | Line 76: | ||
== Debug == | == Debug == | ||
<pre>rdinitdebug</pre> | |||
{{admon/note|Drop to a shell, if the imitramfs fails. | |||
<pre>rdinitdebug</pre> | <pre>rdinitdebug</pre> | ||
{{admon/note|set -x for the dracut shell.}} | {{admon/note|set -x for the dracut shell.}} | ||
Line 86: | Line 88: | ||
<pre>rdnetdebug</pre> | <pre>rdnetdebug</pre> | ||
{{admon/note|Debug network scripts in dracut.}} | {{admon/note|Debug network scripts in dracut.}} | ||
== Configuration in initrd == | |||
<pre>/conf/conf.d/* </pre> | |||
{{admon/note|Command line options can override values set here}} |
Revision as of 15:55, 17 July 2009
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
{{admon/note|Drop to a shell, if the imitramfs fails.
rdinitdebug
rdbreak=[pre-udev|pre-mount|mount|pre-pivot|]
rdudevinfo
rdudevdebug
rdnetdebug
Configuration in initrd
/conf/conf.d/*