How to view the contents of a file within an initramfs Image
Issue
- How do I view the contents of a specific file within an initramfs image for a normal kernel or kdump kernel?
- Some kernel parameters do not show their expected values after an OS boot, even though
/etc/sysctl.confappears to contain default settings.
Environment
- Red Hat Enterprise Linux 7, 8, 9, 10
- dracut
lsinitrd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.