9 dracut.conf - configuration file(s) for dracut
13 _/etc/dracut.conf_ _/etc/dracut.conf.d/*.conf_
14 _/usr/lib/dracut/dracut.conf.d/*.conf_
18 _dracut.conf_ is loaded during the initialisation phase of dracut. Command line
19 parameter will overwrite any values set here.
21 _*.conf_ files are read from /usr/lib/dracut/dracut.conf.d and
22 /etc/dracut.conf.d. Files with the same name in /etc/dracut.conf.d will replace
23 files in /usr/lib/dracut/dracut.conf.d.
24 The files are then read in alphanumerical order and will overwrite parameters
25 set in _/etc/dracut.conf_. Each line specifies an attribute and a value. A '#'
26 indicates the beginning of a comment; following characters, up to the end of the
27 line are not interpreted.
29 dracut command line options will overwrite any values set here.
31 Configuration files must have the extension .conf; other extensions are ignored.
33 *dracutmodules+=*" __<dracut modules>__ "::
34 Specify a space-separated list of dracut modules to call when building the
35 initramfs. Modules are located in _/usr/lib/dracut/modules.d_.
37 *omit_dracutmodules+=*" __<dracut modules>__ "::
38 Omit a space-separated list of dracut modules.
40 *add_dracutmodules+=*" __<dracut modules>__ "::
41 Add a space-separated list of dracut modules.
43 *drivers+=*" __<kernel modules>__ "::
44 Specify a space-separated list of kernel modules to exclusively include in
45 the initramfs. The kernel modules have to be specified without the ".ko"
48 *add_drivers+=*" __<kernel modules>__ "::
49 Specify a space-separated list of kernel modules to add to the initramfs.
50 The kernel modules have to be specified without the ".ko" suffix.
52 *omit_drivers+=*" __<kernel modules>__ "::
53 Specify a space-separated list of kernel modules not to add to the
54 initramfs. The kernel modules have to be specified without the ".ko" suffix.
56 *filesystems+=*" __<filesystem names>__ "::
57 Specify a space-separated list of kernel filesystem modules to exclusively
58 include in the generic initramfs.
60 *drivers_dir=*"__<kernel modules directory>__"::
61 Specify the directory, where to look for kernel modules
63 *fw_dir+=*" :__<dir>__[:__<dir>__ ...] "::
64 Specify additional directories, where to look for firmwares, separated by :
66 *install_items+=*" __<file>__[ __<file>__ ...] "::
67 Specify additional files to include in the initramfs, separated by spaces.
69 *do_strip=*"__{yes|no}__"::
70 Strip binaries in the initramfs (default=yes)
72 *do_prelink=*"__{yes|no}__"::
73 Prelink binaries in the initramfs (default=yes)
75 *hostonly=*"__{yes|no}__"::
76 Host-Only mode: Install only what is needed for booting the local host
77 instead of a generic host and generate host-specific configuration.
79 *persistent_policy=*"__<policy>__"::
80 Use _<policy>_ to address disks and partitions.
81 _<policy>_ can be any directory name found in /dev/disk.
82 E.g. "by-uuid", "by-label"
84 *tmpdir=*"__<temporary directory>__"::
85 Specify temporary directory to use.
89 If chrooted to another root other than the real root device, use --fstab and
90 provide a valid _/etc/fstab_.
93 *use_fstab=*"__{yes|no}__"::
94 Use _/etc/fstab_ instead of _/proc/self/mountinfo_.
96 *add_fstab+=*" __<filename>__ "::
97 Add entries of __<filename>__ to the initramfs /etc/fstab.
99 *add_device+=*" __<device>__ "::
100 Bring up _<device>_ in initramfs, _<device>_ should be the device name.
101 This can be useful in hostonly mode for resume support when your swap is on
102 LVM an encrypted partition.
104 *mdadmconf=*"__{yes|no}__"::
105 Include local _/etc/mdadm.conf_ (default=yes)
107 *lvmconf=*"__{yes|no}__"::
108 Include local _/etc/lvm/lvm.conf_ (default=yes)
110 *fscks=*" __<fsck tools>__ "::
111 Add a space-separated list of fsck tools. If nothing is specified, the
112 default is: "umount mount /sbin/fsck* xfs_db xfs_check xfs_repair e2fsck
113 jfs_fsck reiserfsck btrfsck". The installation is opportunistic
114 (non-existing tools are ignored).
116 *nofscks=*"__{yes|no}__"::
117 If specified, inhibit installation of any fsck tools.
119 *ro_mnt=*"__{yes|no}__"::
120 Mount _/_ and _/usr_ read-only by default.
122 *kernel_cmdline=*"__parameters__"::
123 Specify default kernel command line parameters
125 *kernel_only=*"__{yes|no}__"::
126 Only install kernel drivers and firmware files. (default=no)
128 *no_kernel=*"__{yes|no}__"::
129 Do not install kernel drivers and firmware files (default=no)
131 *acpi_override=*"__{yes|no}__"::
132 [WARNING] ONLY USE THIS IF YOU KNOW WHAT YOU ARE DOING! +
133 Override BIOS provided ACPI tables. For further documentation read
134 Documentation/acpi/initrd_table_override.txt in the kernel sources.
135 Search for ACPI table files (must have .aml suffix) in acpi_table_dir=
136 directory (see below) and add them to a separate uncompressed cpio
137 archive. This cpio archive gets glued (concatenated, uncompressed one
138 must be the first one) to the compressed cpio archive. The first,
139 uncompressed cpio archive is for data which the kernel must be able
140 to access very early (and cannot make use of uncompress alogrithms yet)
141 like microcode or ACPI tables (default=no).
143 *acpi_table_dir=*"__<dir>__"::
144 Directory to search for ACPI tables if acpi_override= is set to yes.
146 *early_microcode=*"{yes|no}"::
147 Combine early microcode with ramdisk (default=no)
149 *stdloglvl*="__\{0-6\}__"::
150 Set logging to standard error level.
152 *sysloglvl*="__\{0-6\}__"::
153 Set logging to syslog level.
155 *fileloglvl=*"__\{0-6\}__"::
156 Set logging to file level.
158 *logfile=*"__<file>__"::
161 *show_modules=*"__{yes|no}__"::
162 Print the name of the included modules to standard output during build.
164 *i18n_vars="__<variable mapping>__"::
165 Distribution specific variable mapping.
166 See dracut/modules.d/10i18n/README for a detailed description.
168 *i18n_default_font=*"__<fontname>__"::
169 The font <fontname> to install, if not specified otherwise.
170 Default is "LatArCyrHeb-16".
172 *i18n_install_all=*"__{yes|no}__"::
173 Install everything regardless of generic or hostonly mode.
178 Old configuration file. You better use your own file in
179 _/etc/dracut.conf.d/_.
181 _/etc/dracut.conf.d/_::
182 Any _/etc/dracut.conf.d/*.conf_ file can overwrite the values in
183 _/etc/dracut.conf_. The configuration files are read in alphanumerical
192 *dracut*(8) *dracut.cmdline*(7)