# cp /boot/initrd-
Then use the gunzip program to decompress the file. Renaming the file to have a .gz extension allows the file to to be decompressed with gzip.
# cd /tmp
# gunzip initrd-
To view the file it must be extracted using the cpio command:
# mkdir initrd
# cd initrd
# cpio -cid -I ../initrd-
Use tree command to see directory structure and then do a cat on init script which has list of modules loaded into kernel.
No comments:
Post a Comment