]> git.ipfire.org Git - thirdparty/dracut.git/blame - dracut.conf.5.asc
98usrmount: depend on fs-lib
[thirdparty/dracut.git] / dracut.conf.5.asc
CommitLineData
888d53f2
HH
1DRACUT.CONF(5)
2==============
3:doctype: manpage
4:man source: dracut
5:man manual: dracut
6
7NAME
8----
9dracut.conf - configuration file(s) for dracut
10
11SYNOPSIS
12--------
13_/etc/dracut.conf_ _/etc/dracut.conf.d/*.conf_
14
15Description
16-----------
17_dracut.conf_ is loaded during the initialisation phase of dracut. Command line
18parameter will overwrite any values set here. _dracut.conf.d/*.conf_ files are
19read in alphanumerical order and will overwrite parameters set in
20_/etc/dracut.conf_. Each line specifies an attribute and a value. A '#'
21indicates the beginning of a comment; following characters, up to the end of the
22line are not interpreted.
23
24*dracutmodules+=*" __<dracut modules>__ "::
25 Specify a space-separated list of dracut modules to call when building the
26 initramfs. Modules are located in _/usr/lib/dracut/modules.d_.
27
28*omit_dracutmodules+=*" __<dracut modules>__ "::
29 Omit a space-separated list of dracut modules.
30
31*add_dracutmodules+=*" __<dracut modules>__ "::
32 Add a space-separated list of dracut modules.
33
34*drivers+=*" __<kernel modules>__ "::
35 Specify a space-separated list of kernel modules to exclusively include in
36 the initramfs. The kernel modules have to be specified without the ".ko"
37 suffix.
38
39*add_drivers+=*" __<kernel modules>__ "::
40 Specify a space-separated list of kernel modules to add to the initramfs.
41 The kernel modules have to be specified without the ".ko" suffix.
42
43*omit_drivers+=*" __<kernel modules>__ "::
44 Specify a space-separated list of kernel modules not to add to the
45 initramfs. The kernel modules have to be specified without the ".ko" suffix.
46
47*install_items+=*" __<kernel modules>__ "::
48 Specify a space-separated list of files, which are added to the initramfs
49 image.
50
51*filesystems+=*" __<filesystem names>__ "::
52 Specify a space-separated list of kernel filesystem modules to exclusively
53 include in the generic initramfs.
54
55*drivers_dir=*"__<kernel modules directory>__"::
56 Specify the directory, where to look for kernel modules
57
58*fw_dir+=*" :__<dir>__[:__<dir>__ ...] "::
59 Specify additional directories, where to look for firmwares, separated by :
60
61*install_items+=*" __<file>__[ __<file>__ ...] "::
62 Specify additional files to include in the initramfs, separated by spaces.
63
64*do_strip=*"__{yes|no}__"::
65 Strip binaries in the initramfs (default=yes)
66
67*hostonly=*"__{yes|no}__"::
68 Host-Only mode: Install only what is needed for booting the local host instead of a generic host.
69
4dd68ca4
70*tmpdir=*"__<temporary directory>__"::
71 Specify temporary directory to use.
72
888d53f2
HH
73[WARNING]
74====
75If chrooted to another root other than the real root device, use --fstab and provide a valid _/etc/fstab_.
76====
77
78*use_fstab=*"__{yes|no}__"::
79 Use _/etc/fstab_ instead of _/proc/self/mountinfo_.
80
81*add_fstab+=*" __<filename>__ "::
82 Add entries of __<filename>__ to the initramfs /etc/fstab.
83
84*mdadmconf=*"__{yes|no}__"::
85 Include local _/etc/mdadm.conf_ (default=yes)
86
87*lvmconf=*"__{yes|no}__"::
88 Include local _/etc/lvm/lvm.conf_ (default=yes)
89
90*fscks=*" __<fsck tools>__ "::
91 Add a space-separated list of fsck tools. If nothing is specified, the
92 default is: "umount mount /sbin/fsck* xfs_db xfs_check xfs_repair e2fsck
93 jfs_fsck reiserfsck btrfsck". The installation is opportunistic
94 (non-existing tools are ignored).
95
96*nofscks=*"__{yes|no}__"::
97 If specified, inhibit installation of any fsck tools.
98
99*kernel_only=*"__{yes|no}__"::
100 Only install kernel drivers and firmware files. (default=no)
101
102*no_kernel=*"{yes|no}"::
103 Do not install kernel drivers and firmware files (default=no)
104
105*stdloglvl*="__\{0-6\}__"::
106 Set logging to standard error level.
107
108*sysloglvl*="__\{0-6\}__"::
109 Set logging to syslog level.
110
111*fileloglvl=*"__\{0-6\}__"::
112 Set logging to file level.
113
114*logfile=*"__<file>__"::
115 Path to log file.
116
117*show_modules=*"__{yes|no}__"::
118 Print included module's name to standard output during build.
119
120Files
121-----
122_/etc/dracut.conf_::
123 Old configuration file. You better use your own file in
124 _/etc/dracut/conf.d/_.
125
126_/etc/dracut/conf.d/_::
127 Any _/etc/dracut/conf.d/*.conf_ file can overwrite the values in
128 _/etc/dracut.conf_. The configuration files are read in alphanumerical
129 order.
130
131AUTHOR
132------
133Harald Hoyer
134
135See Also
136--------
137*dracut*(8) *dracut.cmdline*(7)
138