How to view and extract contents of an initramfs in RHEL 6

To list the files in an initramfs in RHEL 6/7 you can use the command "lsinitrd"


To extract the contents of an initramfs image



----------------------------------------------------------------------------------------------------------------------------
More Subject of Interest

Rebuilding the initramfs in RHEL 6/7




Rebuilding the initramfs in RHEL 6/7

It is recommended you make a backup copy of the initrd in case the new version has an unexpected problem




Now rebuild the initramfs for the current kernel version