'\" t .\" Title: lsinitrd .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.26 .\" Date: 2025-11-04 .\" Manual: dracut .\" Source: dracut .\" Language: English .\" .TH "LSINITRD" "1" "2025-11-04" "dracut" "dracut" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "NAME" lsinitrd \- tool to show the contents of an initramfs image .SH "SYNOPSIS" .sp \fBlsinitrd\fP [\*(AqOPTION.\|.\|.\*(Aq] [ [ [ [.\|.\|.] ]]] .sp \fBlsinitrd\fP [\*(AqOPTION.\|.\|.\*(Aq] \-k .SH "DESCRIPTION" .sp lsinitrd shows the contents of an initramfs image. if is omitted, then lsinitrd determines the default location based on the local configuration or Linux distribution policy. .SH "OPTIONS" .sp \fB\-h, \-\-help\fP .RS 4 print a help message and exit. .RE .sp \fB\-s, \-\-size\fP .RS 4 sort the contents of the initramfs by size. .RE .sp \fB\-f, \-\-file\fP \fI\fP .RS 4 print the contents of . .RE .sp \fB\-k, \-\-kver\fP \fI\fP .RS 4 inspect the initramfs of . .RE .sp \fB\-m, \-\-mod\fP .RS 4 list dracut modules included of the initramfs image. .RE .sp \fB\-\-unpack\fP .RS 4 unpack the initramfs to the current directory, instead of displaying the contents. If optional filenames are given, will only unpack specified files, else the whole image will be unpacked. Won\(cqt unpack anything from early cpio part. .RE .sp \fB\-\-unpackearly\fP .RS 4 unpack the early microcode initramfs to the current directory, instead of displaying the contents. Same as \-\-unpack, but only unpack files from early cpio part. .RE .sp \fB\-v, \-\-verbose\fP .RS 4 unpack verbosely .RE .SH "AVAILABILITY" .sp The lsinitrd command is part of the dracut package and is available from \c .URL "https://github.com/dracut\-ng/dracut\-ng" "\c .URL \(dqhttps://github.com/dracut\-ng/dracut\-ng\(dq \(dq\(dq " .SH "AUTHORS" .sp Harald Hoyer .sp Amerigo Wang .sp Nikoli .SH "SEE ALSO" .sp man:dracut[8]