1MKINITRD(8) dracut MKINITRD(8)
2
3
4
6 mkinitrd - is a compat wrapper, which calls dracut to generate an
7 initramfs
8
10 mkinitrd [OPTION...] [<initrd-image>] <kernel-version>
11
13 mkinitrd creates an initramfs image <initrd-image> for the kernel with
14 version <kernel-version> by calling "dracut".
15
16 Important
17 If a more fine grained control over the resulting image is needed,
18 "dracut" should be called directly.
19
21 --version
22 print info about the version
23
24 -v, --verbose
25 increase verbosity level
26
27 -f, --force
28 overwrite existing initramfs file.
29
30 *--image-version
31 append the kernel version to the target image
32 <initrd-image>-<kernel-version>.
33
34 --with=<module>
35 add the kernel module <module> to the initramfs.
36
37 --preload=<module>
38 preload the kernel module <module> in the initramfs before any
39 other kernel modules are loaded. This can be used to ensure a
40 certain device naming, which should in theory be avoided and the
41 use of symbolic links in /dev is encouraged.
42
43 --nocompress
44 do not compress the resulting image.
45
46 --help
47 print a help message and exit.
48
50 The mkinitrd command is part of the dracut package and is available
51 from https://dracut.wiki.kernel.org
52
54 Harald Hoyer
55
57 dracut(8)
58
59
60
61dracut 10/09/2018 MKINITRD(8)