dracut Command Examples

Generate initramfs images to boot the Linux kernel. Dracut uses options from configuration files in /etc/dracut.conf, /etc/dracut.conf.d/*.conf and /usr/lib/dracut/dracut.conf.d/*.conf by default. More information: https://github.com/dracutdevs/dracut/wiki.

dracut

dracut --force

dracut --kver {{kernel_version}}

dracut --list-modules