On Fri, Feb 03, 2023 at 01:45:33AM -0500, Felix Miata wrote: > David Wright composed on 2023-02-01 22:39 (UTC-0600): > > $ cpio -t < /boot/initrd.img-6.0.0-6-amd64 > > Is that a typo? I copied & pasted that and the screen loaded binary gibberish.
GNU cpio(1) says that -t implies -i, so it should work on Debian. unicorn:~$ cpio -t < /boot/initrd.img-5.10.0-21-amd64 kernel kernel/x86 kernel/x86/microcode kernel/x86/microcode/.enuineIntel.align.0123456789abc kernel/x86/microcode/GenuineIntel.bin 9794 blocks Not sure how *useful* it is, since it only lists the TOC from the first cpio archive in the initrd image, and there may be multiple. But it should give a human-readable table of contents. If it doesn't, then either you're not using GNU cpio (try cpio -it for portability), or your archive may be corrupt.