< Dracut
(→NFS) |
|||
Line 20: | Line 20: | ||
<pre>-d, --drivers LIST</pre> | <pre>-d, --drivers LIST</pre> | ||
{{admon/note|Specify a space-separated list of kernel modules to include in the initramfs.}} | {{admon/note|Specify a space-separated list of kernel modules to include in the initramfs.}} | ||
+ | == -k, --kmoddir == | ||
+ | <pre>-k, --kmoddir</pre> | ||
+ | {{admon/note|Specify the directory, where to look for kernel modules.}} | ||
+ | ==--fwdir == | ||
+ | <pre>--fwdir {DIR}</pre> | ||
+ | {{admon/note|Specify additional directory, where to look for firmwares.}} | ||
+ | ==--kernel-only== | ||
+ | <pre>--kernel-only</pre> | ||
+ | {{admon/note|Only install kernel drivers and firmware files.}} | ||
+ | ==--no-kernel== | ||
+ | <pre>--no-kernel</pre> | ||
+ | {{admon/note|Do not install kernel drivers and firmware files.}} | ||
+ | ==--strip== | ||
+ | <pre>--strip</pre> | ||
+ | {{admon/note|Strip binaries in the initramfs (default).}} | ||
+ | ==--nostrip== | ||
+ | <pre>--nostrip</pre> | ||
+ | {{admon/note|No not strip binaries in the initramfs.}} | ||
==-h, --help== | ==-h, --help== | ||
<pre>-h, --help</pre> | <pre>-h, --help</pre> |
Revision as of 08:03, 29 July 2009
Contents
- 1 Options
- 1.1 -f, --force
- 1.2 -m, --modules
- 1.3 -o, --omit
- 1.4 -a, --add
- 1.5 -d, --drivers
- 1.6 -k, --kmoddir
- 1.7 --fwdir
- 1.8 --kernel-only
- 1.9 --no-kernel
- 1.10 --strip
- 1.11 --nostrip
- 1.12 -h, --help
- 1.13 --debug
- 1.14 v, --verbose
- 1.15 -c, --conf
- 1.16 -l, --local
- 1.17 -H, --hostonly
- 1.18 -i, --include
- 1.19 -I, --install
- 2 Dracut kernel command line parameters
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
-k, --kmoddir
-k, --kmoddir
--fwdir
--fwdir {DIR}
--kernel-only
--kernel-only
--no-kernel
--no-kernel
--strip
--strip
--nostrip
--nostrip
-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>
Bootsplash - plymouth
rd_plytheme=<theme name>
LVM
rd_NO_LVM
rd_LVM_VG=<volume group name>
crypto LUKS
rd_NO_LUKS
rd_LUKS_UUID=<luks uuid>
MD
rd_NO_MD
rd_MD_UUID=<md uuid>
DMRAID
rd_NO_DM
rd_DM_UUID=<dmraid uuid>
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-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/*