mkinitrd(8) — Linux manual page


MKINITRD(8)                        dracut                        MKINITRD(8)

NAME         top

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

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".

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

OPTIONS         top

           print info about the version

       -v, --verbose
           increase verbosity level

       -f, --force
           overwrite existing initramfs file.

           append the kernel version to the target image

           add the kernel module <module> to the initramfs.

           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.

           do not compress the resulting image.

           print a help message and exit.

AVAILABILITY         top

       The mkinitrd command is part of the dracut package and is available

AUTHORS         top

       Harald Hoyer

SEE ALSO         top


COLOPHON         top

       This page is part of the dracut (event driven initramfs
       infrastructure) project.  Information about the project can be found
       at ⟨⟩.  If you have
       a bug report for this manual page, send it to  This page was obtained from the project's
       upstream Git repository
       ⟨git://⟩ on 2020-09-18.
       (At that time, the date of the most recent commit that was found in
       the repository was 2020-03-04.)  If you discover any rendering prob‐
       lems in this HTML version of the page, or you believe there is a bet‐
       ter 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

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

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