1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 08:22:09 +02:00
tldr/pages/linux/lsinitrd.md
Lena 79563e22cc
dracut, lsinitrd: add page (#10635)
* dracut: add page

* lsinitrd: add page

* dracut, lsinitrd: "dracut modules" => "modules"

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-09-20 10:42:11 +08:00

25 lines
587 B
Markdown

# lsinitrd
> Show the contents of an initramfs image.
> See also: `dracut`.
> More information: <https://github.com/dracutdevs/dracut/blob/master/man/lsinitrd.1.asc>.
- Show the contents of the initramfs image for the current kernel:
`lsinitrd`
- Show the contents of the initramfs image for the specified kernel:
`lsinitrd --kver {{kernel_version}}`
- Show the contents of the specified initramfs image:
`lsinitrd {{path/to/initramfs.img}}`
- List modules included in the initramfs image:
`lsinitrd --mod`
- Unpack the initramfs to the current directory:
`lsinitrd --unpack`