LinuxCommandLibrary

dracut

Generate initramfs images to boot the Linux kernel.

TLDR

Generate an initramfs image for the current kernel without overriding any options

$ dracut
copy


Generate an initramfs image for the current kernel and overwrite the existing one
$ dracut --force
copy


Generate an initramfs image for a specific kernel
$ dracut --kver [kernel_version]
copy


Show a list of available modules
$ dracut --list-modules
copy

Copied to clipboard