LSINITRD(1)
π LSINITRD β the dracut girlies' peek-inside tool π
okay so this is lsinitrd, a page from section 1 of the manual (that's the dracut one, bestie β¨), and it's literally the tool that shows you what's inside an initramfs image. like opening the suitcase and going "ooh what's in here" π§³π
β¨ NAME β¨
lsinitrd β a tool to show the contents of an initramfs image π«Ά
πΈ SYNOPSIS πΈ
lsinitrd ['OPTION...'] [<image> [<filename> [<filename> [...] ]]]
lsinitrd ['OPTION...'] -k <kernel version>
π¦ DESCRIPTION π¦
So lsinitrd shows the contents of an initramfs image. That's it, that's the vibe π
And here's the slay part: if you leave out <image>, lsinitrd determines the default location based on your local configuration or your Linux distribution policy. it just knows πβ¨ no cap.
π OPTIONS π
-h,--helpβ print a help message and exit. classic, iconic, always there for you π-s,--sizeβ sort the contents of the initramfs by size. biggest files first β main character energy only π₯-f,--file<filename>β print the contents of<filename>. like yes bestie let me read that π-k,--kver<kernel version>β inspect the initramfs of<kernel version>. very "this specific one, not the others" of it π-m,--modβ list the dracut modules included in the initramfs image. headcount time π--unpackβ unpack the initramfs to the current directory, instead of displaying the contents. and if optional filenames are given, it will only unpack the specified files β otherwise the whole image gets unpacked. β οΈ but lowkey important: it won't unpack anything from the early cpio part. noted, fr fr.--unpackearlyβ unpack the early microcode initramfs to the current directory, instead of displaying the contents. same as--unpack, but only unpacks files from the early cpio part. the early one, specifically π-v,--verboseβ unpack verbosely. it will tell you everything π£οΈπ¬
π AVAILABILITY π
The lsinitrd command is part of the dracut package and is available from:
https://github.com/dracut-ng/dracut-ng
π§ AUTHORS π§
- Harald Hoyer
- Amerigo Wang
- Nikoli
absolute legends, all three of them π
β SEE ALSO β
man:dracut[8] β go read that one next, iykyk ππ
and that's the whole page, bestie β every flag, every path, every name, nothing skipped, periodt π β¨
ok so this page is from dracut (version dated 2026-06-01), and that's the cute little bow on top of this whole manual page ππ«Ά bye ily, go unpack something responsibly π
π¦ where this page comes from
- alpine 3.24: dracut-doc 111-r1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms