2023-09-20 04:42:11 +02:00
# dracut
> 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.
2025-06-29 11:32:13 +03:00
> More information: <https://github.com/dracut-ng/dracut-ng/blob/main/man/dracut.8.adoc>.
2023-09-20 04:42:11 +02:00
- Generate an initramfs image for the current kernel without overriding any options:
`dracut`
- Generate an initramfs image for the current kernel and overwrite the existing one:
2025-06-29 11:32:13 +03:00
`dracut {{[-f|--force]}}`
2023-09-20 04:42:11 +02:00
- Generate an initramfs image for a specific kernel:
`dracut --kver {{kernel_version}}`
2024-01-31 00:55:19 -03:00
- List available modules:
2023-09-20 04:42:11 +02:00
`dracut --list-modules`