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 /boot/<machine-id>/<kernel-version>/initrd or
17 /boot/initramfs-<kernel-version>.img.
18
20 -h, --help
21 print a help message and exit.
22
23 -s, --size
24 sort the contents of the initramfs by size.
25
26 -f, --file <filename>
27 print the contents of <filename>.
28
29 -k, --kver <kernel version>
30 inspect the initramfs of <kernel version>.
31
32 -m, --mod
33 list dracut modules included of the initramfs image.
34
35 --unpack
36 unpack the initramfs to the current directory, instead of
37 displaying the contents. If optional filenames are given, will only
38 unpack specified files, else the whole image will be unpacked.
39 Won’t unpack anything from early cpio part.
40
41 --unpackearly
42 unpack the early microcode initramfs to the current directory,
43 instead of displaying the contents. Same as --unpack, but only
44 unpack files from early cpio part.
45
46 -v, --verbose
47 unpack verbosely
48
50 The lsinitrd command is part of the dracut package and is available
51 from https://dracut.wiki.kernel.org
52
54 Harald Hoyer
55
56 Amerigo Wang
57
58 Nikoli
59
61 dracut(8)
62
63
64
65dracut 050 03/04/2020 LSINITRD(1)