How to mount initrd?

reading/writing initrd – the initial ram disk of a desktop Linux system:

mkdir tmp
cd tmp
gzip -dc /somepath/initrd.gz | cpio -id

# do the edits on the files

find . | cpio –quiet –dereference -o -H newc | gzip -9 > /somepath/new-initrd.gz

Leave a Reply

IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)

What is 9 x 6 ?
Please leave these two fields as-is: