DOKK / manpages / debian 12 / initramfs-tools-core / lsinitramfs.8.en
LSINITRAMFS(8) System Administration LSINITRAMFS(8)

lsinitramfs - list content of an initramfs image

lsinitramfs [-l] initramfs-file...
lsinitramfs -h

The lsinitramfs command lists the content of given initramfs images. It allows one to quickly check the content of one (or multiple) specified initramfs files.

Display usage information and exit.

Display long and more verbose listing of initramfs content.

List initramfs content of current running kernel:

lsinitramfs /boot/initrd.img-$(uname -r)

List content of two initramfs files in verbose mode:

lsinitramfs -l /boot/vmlinuz-2.6.31-grml64 /boot/vmlinuz-2.6.33-grml64

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

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

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

2015/12/09 initramfs-tools