SysTutorials

Linux Manual Pages › Section 8

unmkinitramfs(8)

unmkinitramfs – extract content from an initramfs image

Synopsis

unmkinitramfs [-v] initramfs-file directory
unmkinitramfs -h

Description

The unmkinitramfs command extracts the content of a given initramfs image using cpio. If the image contains multiple segments, each are passed to cpio in order.

Options

-h
Display usage information and exit.
-v
Display verbose messages about extraction.

Usage Examples

Extract initramfs content of current running kernel:

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

Bugs

unmkinitramfs cannot deal with multiple-segmented initramfs images, except where an early (uncompressed) initramfs with system firmware is prepended to the regular compressed initramfs.

Author

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

See Also

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