mkinitrd(8)
mkinitrd – is a compat wrapper, which calls dracut to generate an initramfs
Synopsis
mkinitrd [OPTION…] [<initrd-image>] <kernel-version>
Description
mkinitrd creates an initramfs image <initrd-image> for the kernel with version <kernel-version> by calling "dracut".
Important
If a more fine grained control over the resulting image is needed, "dracut" should be called directly.- print info about the version
- increase verbosity level
- overwrite existing initramfs file.
- append the kernel version to the target image <initrd-image>-<kernel-version>.
- add the kernel module <module> to the initramfs.
- preload the kernel module <module> in the initramfs before any other kernel modules are loaded. This can be used to ensure a certain device naming, which should in theory be avoided and the use of symbolic links in /dev is encouraged.
- do not compress the resulting image.
- print a help message and exit.
Options
–version
-v, –verbose
-f, –force
*–image-version
–with=<module>
–preload=<module>
–nocompress
–help
Availability
The mkinitrd command is part of the dracut package and is available from m[blue]https://dracut.wiki.kernel.orgm[]
Authors
Harald Hoyer
See Also
dracut(8)