]> git.ipfire.org Git - thirdparty/dracut.git/blob - mkinitrd.8.asc
Revert "github workflow"
[thirdparty/dracut.git] / mkinitrd.8.asc
1 MKINITRD(8)
2 =========
3 :doctype: manpage
4 :man source: dracut
5 :man manual: dracut
6 :man version: {version}
7
8 NAME
9 ----
10 mkinitrd - is a compat wrapper, which calls dracut to generate an initramfs
11
12 SYNOPSIS
13 --------
14 *mkinitrd* ['OPTION...'] [<initrd-image>] <kernel-version>
15
16 DESCRIPTION
17 -----------
18 mkinitrd creates an initramfs image <initrd-image> for the kernel with
19 version <kernel-version> by calling "dracut".
20
21 [IMPORTANT]
22 If a more fine grained control over the resulting image is needed,
23 "dracut" should be called directly.
24
25 OPTIONS
26 -------
27 **--version**::
28 print info about the version
29
30 **-v, --verbose**::
31 increase verbosity level
32
33 **-f, --force**::
34 overwrite existing initramfs file.
35
36 **--image-version*::
37 append the kernel version to the target image
38 <initrd-image>-<kernel-version>.
39
40 **--with=<module>**::
41 add the kernel module <module> to the initramfs.
42
43 **--preload=<module>**::
44 preload the kernel module <module> in the initramfs before any other kernel
45 modules are loaded. This can be used to ensure a certain device naming,
46 which should in theory be avoided and the use of symbolic links in /dev is
47 encouraged.
48
49 **--nocompress**::
50 do not compress the resulting image.
51
52 **--help**::
53 print a help message and exit.
54
55 AVAILABILITY
56 ------------
57 The mkinitrd command is part of the dracut package and is available from
58 link:$$https://dracut.wiki.kernel.org$$[https://dracut.wiki.kernel.org]
59
60 AUTHORS
61 -------
62 Harald Hoyer
63
64 SEE ALSO
65 --------
66 *dracut*(8)