dracut.conf dracut Developer Harald Hoyer harald@redhat.com dracut.conf 5 dracut.conf configuration file(s) for dracut /etc/dracut.conf /etc/dracut.conf.d/*.conf Description dracut.conf is loaded during the initialisation phase of dracut. Command line parameter will overwrite any values set here. dracut.conf.d/*.conf files are read in alphanumerical order and will overwrite parameters set in /etc/dracut.conf. Each line specifies an attribute and a value. A '#' indicates the beginning of a comment; following characters, up to the end of the line are not interpreted. dracutmodules+=" <dracut modules> " Specify a space-separated list of dracut modules to call when building the initramfs. Modules are located in /usr/share/dracut/modules.d. omit_dracutmodules+=" <dracut modules> " Omit a space-separated list of dracut modules. add_dracutmodules+=" <dracut modules> " Add a space-separated list of dracut modules. drivers+=" <kernel modules> " Specify a space-separated list of kernel modules to exclusively include in the initramfs. The kernel modules have to be specified without the ".ko" suffix. add_drivers+=" <kernel modules> " Specify a space-separated list of kernel modules to add to the initramfs. The kernel modules have to be specified without the ".ko" suffix. filesystems+=" <filesystem names> " Specify a space-separated list of kernel filesystem modules to exclusively include in the generic initramfs. drivers_dir="<kernel modules directory>" Specify the directory, where to look for kernel modules fw_dir+=" :<dir>[:<dir> ...] " Specify additional directories, where to look for firmwares, separated by : do_strip="{yes|no}" Strip binaries in the initramfs (default=yes) hostonly="{yes|no}" Host-Only mode: Install only what is needed for booting the local host instead of a generic host. If chrooted to another root other than the real root device, use and provide a valid /etc/fstab. use_fstab="{yes|no}" Use /etc/fstab instead of /proc/self/mountinfo. mdadmconf="{yes|no}" Include local /etc/mdadm.conf (default=yes) lvmconf="{yes|no}" Include local /etc/lvm/lvm.conf (default=yes) kernel_only="{yes|no}" Only install kernel drivers and firmware files. (default=no) no_kernel="{yes|no}" Do not install kernel drivers and firmware files (default=no) Files /etc/dracut/conf.d/ Any /etc/dracut/conf.d/*.conf file can overwrite the values in /etc/dracut.conf. The configuration files are read in alphanumerical order. See Also dracut 8 dracut.kernel 7