UNMKINITRAMFS(8)
β¨ UNMKINITRAMFS(8) β System Administration β¨
Hey bestie, okay so this page is all about unmkinitramfs π§ It's the command that extracts content from an initramfs image π
πΈ NAME
unmkinitramfs β extract content from an initramfs image π
π SYNOPSIS
unmkinitramfs [-v] initramfs-file directory
unmkinitramfs -h
π¦ DESCRIPTION
Okay so the unmkinitramfs command extracts the content of a given initramfs image using cpio and the appropriate decompressor command. It's giving organized, no cap π«Ά
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. Lowkey wild, but it works π₯
Earlier versions of this command would in some cases unpack an initramfs consisting of multiple archives into multiple subdirectories of the given directory. π That was the old vibe, so be aware of it!
β¨ OPTIONS β¨
-hβ Display usage information and exit. Need the cheat sheet? This one's for you π-vβ Display verbose messages about extraction. Main character energy, we want to see everything happening π
π USAGE EXAMPLES
Extract initramfs content of current running kernel:
unmkinitramfs /boot/initrd.img-$(uname -r) initramfs/
π BUGS
β οΈ unmkinitramfs does not support initramfs images with more than one compressed cpio archive. Not me being sad about it, but just know this limitation exists π
π AUTHOR
The initramfs-tools are written by Maximilian Attems <maks@debian.org> and numerous others. Huge shoutout to them π«Άπ
π₯ SEE ALSO
initramfs-tools(7), lsinitramfs(8), mkinitramfs(8), update-initramfs(8). Go check those out, they're iconic too β¨
Stay iconic, bestie π This was initramfs-tools 2025/03/20, typed up for you with love π¦ (page UNMKINITRAMFS(8), System Administration) π
π¦ where this page comes from
- ubuntu questing: initramfs-tools-bin 0.150ubuntu3
- ubuntu questing: initramfs-tools-bin 0.150ubuntu3.1 Β· GPL-2.0-or-later
- ubuntu resolute: initramfs-tools-bin 0.151ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: initramfs-tools-bin 0.151ubuntu3 Β· GPL-2.0-or-later
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms