UNMKINITRAMFS(8)

πŸ“¦
version 0.151ubuntu3 Β· 3 versions
, in ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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) πŸ’