logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

unmkinitramfs - extract content from an initramfs image

Author

       The initramfs-tools are written by Maximilian Attems <maks@debian.org> and numerous others.

Bugs

unmkinitramfs does not support initramfs images with more than one compressed cpio archive.

Description

       The  unmkinitramfs command extracts the content of a given initramfs image using cpio and the appropriate
       decompressor command.

       The initramfs image may be a single compressed cpio archive,  or  the  concatenation  of  any  number  of
       uncompressed cpio archives optionally followed by a compressed cpio archive.

       Earlier  versions of this command would in some cases unpack an initramfs consisting of multiple archives
       into multiple subdirectories of the given directory.

Name

       unmkinitramfs - extract content from an initramfs image

Options

-h     Display usage information and exit.

       -v     Display verbose messages about extraction.

See Also

initramfs-tools(7), lsinitramfs(8), mkinitramfs(8), update-initramfs(8).

initramfs-tools                                    2025/03/20                                   UNMKINITRAMFS(8)

Synopsis

unmkinitramfs [-v] initramfs-filedirectoryunmkinitramfs-h

Usage Examples

       Extract initramfs content of current running kernel:

       unmkinitramfs/boot/initrd.img-$(uname-r)initramfs/

See Also