summaryrefslogtreecommitdiff
path: root/mkinitrd.8.asc
blob: 25661c8d0ac9a1ab3b8403115fcf5985cd458e1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
MKINITRD(8)
=========
:doctype: manpage
:man source:   dracut
:man manual:   dracut

NAME
----
mkinitrd - is a compat wrapper, which calls dracut to generate an initramfs

SYNOPSIS
--------
*mkinitrd* ['OPTION...'] [<initrd-image>]  <kernel-version>

DESCRIPTION
-----------
mkinitrd creates an initramfs image <initrd-image> for the kernel with
version <kernel-version> by calling "dracut".

[IMPORTANT]
If a more fine grained control over the resulting image is needed,
"dracut" should be called directly.

OPTIONS
-------
**--version**::
    print info about the version

**-v, --verbose**::
    increase verbosity level

**-f, --force**::
    overwrite existing initramfs file.

**--image-version*::
    append the kernel version to the target image
    <initrd-image>-<kernel-version>.

**--with=<module>**::
     add the kernel module <module> to the initramfs.

**--preload=<module>**::
     preload the kernel module <module> in the initramfs before any other kernel
     modules are loaded. This can be used to ensure a certain device naming, which
     should in theory be avoided and the use of symbolic links in /dev is
     encouraged.

**--nocompress**::
     do not compress the resulting image.

**--help**::
    print a help message and exit.

AVAILABILITY
------------
The mkinitrd command is part of the dracut package and is available from
link:$$https://dracut.wiki.kernel.org$$[https://dracut.wiki.kernel.org]

AUTHORS
-------
Harald Hoyer

SEE ALSO
--------
*dracut*(8)