lsinitrd(1) — Linux manual page

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

LSINITRD(1)                       dracut                      LSINITRD(1)

NAME         top

       lsinitrd - tool to show the contents of an initramfs image

SYNOPSIS         top

       lsinitrd [OPTION...] [<image> [<filename> [<filename> [...] ]]]

       lsinitrd [OPTION...] -k <kernel version>

DESCRIPTION         top

       lsinitrd shows the contents of an initramfs image. if <image> is
       omitted, then lsinitrd determines the default location based on
       the local configuration or Linux distribution policy.

OPTIONS         top

       -h, --help
           print a help message and exit.

       -s, --size
           sort the contents of the initramfs by size.

       -f, --file <filename>
           print the contents of <filename>.

       -k, --kver <kernel version>
           inspect the initramfs of <kernel version>.

       -m, --mod
           list dracut modules included of the initramfs image.

       --unpack
           unpack the initramfs to the current directory, instead of
           displaying the contents. If optional filenames are given, will
           only unpack specified files, else the whole image will be
           unpacked. Won’t unpack anything from early cpio part.

       --unpackearly
           unpack the early microcode initramfs to the current directory,
           instead of displaying the contents. Same as --unpack, but only
           unpack files from early cpio part.

       -v, --verbose
           unpack verbosely

AVAILABILITY         top

       The lsinitrd command is part of the dracut package and is
       available from https://github.com/dracut-ng/dracut-ng 

AUTHORS         top

       Harald Hoyer

       Amerigo Wang

       Nikoli

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://github.com/dracut-ng//dracut-ng⟩.  If you have a
       bug report for this manual page, see
       ⟨https://github.com/dracut-ng/dracut-ng/issues⟩.  This page was
       obtained from the project's upstream Git repository
       ⟨https://github.com/dracut-ng/dracut-ng.git⟩ on 2025-02-02.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2025-01-30.)  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 105-413-g314a2141        02/02/2025                    LSINITRD(1)

Pages that refer to this page: dracut(8)