]> git.ipfire.org Git - thirdparty/dracut.git/blame - mkinitrd.8.asc
test/test-functions: colorize startup
[thirdparty/dracut.git] / mkinitrd.8.asc
CommitLineData
0e14946a
HH
1MKINITRD(8)
2=========
3:doctype: manpage
4:man source: dracut
5:man manual: dracut
50057af1 6:man version: {version}
0e14946a
HH
7
8NAME
9----
10mkinitrd - is a compat wrapper, which calls dracut to generate an initramfs
11
12SYNOPSIS
13--------
14*mkinitrd* ['OPTION...'] [<initrd-image>] <kernel-version>
15
16DESCRIPTION
17-----------
18mkinitrd creates an initramfs image <initrd-image> for the kernel with
19version <kernel-version> by calling "dracut".
20
528864e4 21[IMPORTANT]
0e14946a
HH
22If a more fine grained control over the resulting image is needed,
23"dracut" should be called directly.
24
25OPTIONS
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
ef9ddb91
HH
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
0e14946a
HH
47 encouraged.
48
49**--nocompress**::
50 do not compress the resulting image.
51
52**--help**::
53 print a help message and exit.
54
55AVAILABILITY
56------------
57The mkinitrd command is part of the dracut package and is available from
58link:$$https://dracut.wiki.kernel.org$$[https://dracut.wiki.kernel.org]
59
60AUTHORS
61-------
62Harald Hoyer
63
64SEE ALSO
65--------
66*dracut*(8)