1DRACUT.CONF(5)                      dracut                      DRACUT.CONF(5)
2
3
4

NAME

6       dracut.conf - configuration file(s) for dracut
7

SYNOPSIS

9       /etc/dracut.conf /etc/dracut.conf.d/.conf
10       /usr/lib/dracut/dracut.conf.d/.conf
11

DESCRIPTION

13       dracut.conf is loaded during the initialisation phase of dracut.
14       Command line parameter will overwrite any values set here.
15
16       *.conf files are read from /usr/lib/dracut/dracut.conf.d and
17       /etc/dracut.conf.d. Files with the same name in /etc/dracut.conf.d will
18       replace files in /usr/lib/dracut/dracut.conf.d. The files are then read
19       in alphanumerical order and will overwrite parameters set in
20       /etc/dracut.conf. Each line specifies an attribute and a value. A #
21       indicates the beginning of a comment; following characters, up to the
22       end of the line are not interpreted.
23
24       dracut command line options will overwrite any values set here.
25
26       Configuration files must have the extension .conf; other extensions are
27       ignored.
28
29           Warning
30           Space-separated lists have to have a leading and trailing space!
31
32       dracutmodules+=" <dracut modules> "
33           Specify a space-separated list of dracut modules to call when
34           building the initramfs. Modules are located in
35           /usr/lib/dracut/modules.d.
36
37       omit_dracutmodules+=" <dracut modules> "
38           Omit a space-separated list of dracut modules.
39
40       add_dracutmodules+=" <dracut modules> "
41           Add a space-separated list of dracut modules.
42
43       drivers+=" <kernel modules> "
44           Specify a space-separated list of kernel modules to exclusively
45           include in the initramfs. The kernel modules have to be specified
46           without the ".ko" suffix.
47
48       add_drivers+=" <kernel modules> "
49           Specify a space-separated list of kernel modules to add to the
50           initramfs. The kernel modules have to be specified without the
51           ".ko" suffix.
52
53       force_drivers+=" <list of kernel modules> "
54           See add_drivers above. But in this case it is ensured that the
55           drivers are tried to be loaded early via modprobe.
56
57       omit_drivers+=" <kernel modules> "
58           Specify a space-separated list of kernel modules not to add to the
59           initramfs. The kernel modules have to be specified without the
60           ".ko" suffix.
61
62       filesystems+=" <filesystem names> "
63           Specify a space-separated list of kernel filesystem modules to
64           exclusively include in the generic initramfs.
65
66       drivers_dir="<kernel modules directory>"
67           Specify the directory, where to look for kernel modules
68
69       fw_dir+=" :<dir>[:<dir> ...] "
70           Specify additional directories, where to look for firmwares,
71           separated by :
72
73       install_items+=" <file>[ <file> ...] "
74           Specify additional files to include in the initramfs, separated by
75           spaces.
76
77       install_optional_items+=" <file>[ <file> ...] "
78           Specify additional files to include in the initramfs, separated by
79           spaces, if they exist.
80
81       do_strip="{yes|no}"
82           Strip binaries in the initramfs (default=yes)
83
84       do_prelink="{yes|no}"
85           Prelink binaries in the initramfs (default=yes)
86
87       hostonly="{yes|no}"
88           Host-Only mode: Install only what is needed for booting the local
89           host instead of a generic host and generate host-specific
90           configuration.
91
92       hostonly_cmdline"{yes|no}"
93           If set, store the kernel command line arguments needed in the
94           initramfs
95
96       i18n_install_all="{yes|no}"
97           If set to yes, install all available fonts and keyboard files.
98
99       persistent_policy="<policy>"
100           Use <policy> to address disks and partitions.  <policy> can be any
101           directory name found in /dev/disk. E.g. "by-uuid", "by-label"
102
103       tmpdir="<temporary directory>"
104           Specify temporary directory to use.
105
106           Warning
107           If chrooted to another root other than the real root device, use
108           --fstab and provide a valid /etc/fstab.
109
110       use_fstab="{yes|no}"
111           Use /etc/fstab instead of /proc/self/mountinfo.
112
113       add_fstab+=" <filename> "
114           Add entries of <filename> to the initramfs /etc/fstab.
115
116       add_device+=" <device> "
117           Bring up <device> in initramfs, <device> should be the device name.
118           This can be useful in hostonly mode for resume support when your
119           swap is on LVM an encrypted partition.
120
121       mdadmconf="{yes|no}"
122           Include local /etc/mdadm.conf (default=yes)
123
124       lvmconf="{yes|no}"
125           Include local /etc/lvm/lvm.conf (default=yes)
126
127       fscks=" <fsck tools> "
128           Add a space-separated list of fsck tools. If nothing is specified,
129           the default is: "umount mount /sbin/fsck* xfs_db xfs_check
130           xfs_repair e2fsck jfs_fsck reiserfsck btrfsck". The installation is
131           opportunistic (non-existing tools are ignored).
132
133       nofscks="{yes|no}"
134           If specified, inhibit installation of any fsck tools.
135
136       ro_mnt="{yes|no}"
137           Mount / and /usr read-only by default.
138
139       kernel_cmdline="parameters"
140           Specify default kernel command line parameters
141
142       kernel_only="{yes|no}"
143           Only install kernel drivers and firmware files. (default=no)
144
145       no_kernel="{yes|no}"
146           Do not install kernel drivers and firmware files (default=no)
147
148       acpi_override="{yes|no}"
149           [WARNING] ONLY USE THIS IF YOU KNOW WHAT YOU ARE DOING!
150
151           Override BIOS provided ACPI tables. For further documentation read
152           Documentation/acpi/initrd_table_override.txt in the kernel sources.
153           Search for ACPI table files (must have .aml suffix) in
154           acpi_table_dir= directory (see below) and add them to a separate
155           uncompressed cpio archive. This cpio archive gets glued
156           (concatenated, uncompressed one must be the first one) to the
157           compressed cpio archive. The first, uncompressed cpio archive is
158           for data which the kernel must be able to access very early (and
159           cannot make use of uncompress alogrithms yet) like microcode or
160           ACPI tables (default=no).
161
162       acpi_table_dir="<dir>"
163           Directory to search for ACPI tables if acpi_override= is set to
164           yes.
165
166       early_microcode="{yes|no}"
167           Combine early microcode with ramdisk (default=no)
168
169       stdloglvl="{0-6}"
170           Set logging to standard error level.
171
172       sysloglvl="{0-6}"
173           Set logging to syslog level.
174
175       fileloglvl="{0-6}"
176           Set logging to file level.
177
178       logfile="<file>"
179           Path to log file.
180
181       show_modules="{yes|no}"
182           Print the name of the included modules to standard output during
183           build.
184
185       *i18n_vars="<variable mapping>"
186           Distribution specific variable mapping. See
187           dracut/modules.d/10i18n/README for a detailed description.
188
189       i18n_default_font="<fontname>"
190           The font <fontname> to install, if not specified otherwise. Default
191           is "LatArCyrHeb-16".
192
193       i18n_install_all="{yes|no}"
194           Install everything regardless of generic or hostonly mode.
195

FILES

197       /etc/dracut.conf
198           Old configuration file. You better use your own file in
199           /etc/dracut.conf.d/.
200
201       /etc/dracut.conf.d/
202           Any /etc/dracut.conf.d/*.conf file can overwrite the values in
203           /etc/dracut.conf. The configuration files are read in
204           alphanumerical order.
205

AUTHOR

207       Harald Hoyer
208

SEE ALSO

210       dracut(8) dracut.cmdline(7)
211
212
213
214dracut                            11/02/2018                    DRACUT.CONF(5)
Impressum