Greg Wooledge wrote: > Moreover, the simple zcat|cpio -i no longer works with stretch's initrd > images. They're in a different format, and you have to use > lsinitramfs or unmkinitramfs to see or extract their contents. > > On a jessie system, the zcat|cpio -i may still work (not sure about > backported kernels though).
I just tested it on stretch file /boot/initrd.img-4.14.12eko4 /boot/initrd.img-4.14.12eko4: gzip compressed data, last modified: Tue Jan 9 22:45:46 2018, from Unix $ zcat /boot/initrd.img-4.14.12eko4 | cpio -id 76825 blocks so if it is gzip format it works perfectly - what format do you mean? If you look into /usr/bin/unmkinitramfs it is a shell script but anyway - good hint regards