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