lsinitramfs
List content of an initramfs image
root@kali:~# lsinitramfs -h
Usage: lsinitramfs [-l] initramfs-file...
Options:
-l Display long and more verbose listing of initramfs content
See lsinitramfs(8) for further details.
mkinitramfs
Low-level tool for generating an initramfs image
root@kali:~# mkinitramfs -h
Usage: mkinitramfs [option]... -o outfile [version]
Options:
-c compress Override COMPRESS setting in initramfs.conf.
-d confdir Specify an alternative configuration directory.
-l level Override COMPRESSLEVEL setting in initramfs.conf.
-k Keep temporary directory used to make the image.
-o outfile Write to outfile.
-r root Override ROOT setting in initramfs.conf.
See mkinitramfs(8) for further details.
unmkinitramfs
Extract content from an initramfs image
root@kali:~# unmkinitramfs -h
Usage: unmkinitramfs [-v] initramfs-file directory
Options:
-v Display verbose messages about extraction
See unmkinitramfs(8) for further details.