1LSINITRD(1) dracut LSINITRD(1)
2
3
4
6 lsinitrd - tool to show the contents of an initramfs image
7
9 lsinitrd [OPTION...] [<image> [<filename> [<filename> [...] ]]]
10
11 lsinitrd [OPTION...] -k <kernel version>
12
14 lsinitrd shows the contents of an initramfs image. if <image> is
15 omitted, then lsinitrd uses the default image
16 /efi/<machine-id>/<kernel-version>/initrd,
17 /boot/<machine-id>/<kernel-version>/initrd,
18 /boot/efi/<machine-id>/<kernel-version>/initrd,
19 /lib/modules/<kernel-version>/initrd or
20 /boot/initramfs-<kernel-version>.img.
21
23 -h, --help
24 print a help message and exit.
25
26 -s, --size
27 sort the contents of the initramfs by size.
28
29 -f, --file <filename>
30 print the contents of <filename>.
31
32 -k, --kver <kernel version>
33 inspect the initramfs of <kernel version>.
34
35 -m, --mod
36 list dracut modules included of the initramfs image.
37
38 --unpack
39 unpack the initramfs to the current directory, instead of
40 displaying the contents. If optional filenames are given, will only
41 unpack specified files, else the whole image will be unpacked.
42 Won’t unpack anything from early cpio part.
43
44 --unpackearly
45 unpack the early microcode initramfs to the current directory,
46 instead of displaying the contents. Same as --unpack, but only
47 unpack files from early cpio part.
48
49 -v, --verbose
50 unpack verbosely
51
53 The lsinitrd command is part of the dracut package and is available
54 from https://dracut.wiki.kernel.org
55
57 Harald Hoyer
58
59 Amerigo Wang
60
61 Nikoli
62
64 dracut(8)
65
66
67
68dracut 057-4-gb46b3749 07/01/2022 LSINITRD(1)