]> git.ipfire.org Git - thirdparty/dracut.git/blame - mkinitrd.8.asc
iscsi: always popd, even if there is no iscsi device
[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
528864e4 20[IMPORTANT]
0e14946a
HH
21If a more fine grained control over the resulting image is needed,
22"dracut" should be called directly.
23
24OPTIONS
25-------
26**--version**::
27 print info about the version
28
29**-v, --verbose**::
30 increase verbosity level
31
32**-f, --force**::
33 overwrite existing initramfs file.
34
35**--image-version*::
36 append the kernel version to the target image
37 <initrd-image>-<kernel-version>.
38
39**--with=<module>**::
40 add the kernel module <module> to the initramfs.
41
42**--preload=<module>**::
43 preload the kernel module <module> in the initramfs before any other kernel
ef9ddb91
HH
44 modules are loaded. This can be used to ensure a certain device naming,
45 which should in theory be avoided and the use of symbolic links in /dev is
0e14946a
HH
46 encouraged.
47
48**--nocompress**::
49 do not compress the resulting image.
50
51**--help**::
52 print a help message and exit.
53
54AVAILABILITY
55------------
56The mkinitrd command is part of the dracut package and is available from
57link:$$https://dracut.wiki.kernel.org$$[https://dracut.wiki.kernel.org]
58
59AUTHORS
60-------
61Harald Hoyer
62
63SEE ALSO
64--------
65*dracut*(8)