quick extract and view contents of initrd

quick one-liner to extract and view initrd

# mkdir /tmp/initrd && cd /tmp/initrd && cat /boot/`ls -lt /boot | grep initrd | head -1 | awk '{print $9}'` | gunzip | cpio -id && ls

Leave a Reply

Your email address will not be published. Required fields are marked *