mkinitrd(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | AVAILABILITY | AUTHORS | SEE ALSO | COLOPHON

MKINITRD(8)                      dracut                      MKINITRD(8)

NAME         top

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

SYNOPSIS         top

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

DESCRIPTION         top

       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         top

       --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         top

       The mkinitrd command is part of the dracut package and is
       available from https://dracut.wiki.kernel.org 

AUTHORS         top

       Harald Hoyer

SEE ALSO         top

       dracut(8)

COLOPHON         top

       This page is part of the dracut (event driven initramfs
       infrastructure) project.  Information about the project can be
       found at ⟨https://dracut.wiki.kernel.org/index.php/Main_Page⟩.
       If you have a bug report for this manual page, send it to
       initramfs@vger.kernel.org.  This page was obtained from the
       project's upstream Git repository
       ⟨git://git.kernel.org/pub/scm/boot/dracut/dracut.git⟩ on
       2021-04-01.  (At that time, the date of the most recent commit
       that was found in the repository was 2021-02-23.)  If you
       discover any rendering problems in this HTML version of the page,
       or you believe there is a better or more up-to-date source for
       the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original
       manual page), send a mail to man-pages@man7.org

dracut 050-2-g9e68789d         05/16/2020                    MKINITRD(8)

Pages that refer to this page: localectl(1)switch_root(8)