(In reply to Franck Bui from comment #23) > (In reply to Harald Koenig from comment #22) > > but I notice that lsinitrd does not show the *.ko.xz > > That's due to the sed expression which only shows *.ko modules so it needs > to be adapted to match *.ko.xz too. I checked the raw output of lsinitrd, no sed.... in my initrd-5.8.4-1-default I find 2 copies of e.g. dm-crypt.ko.xz with binwalk, on in the compressed cpio block starting at 0x19000 (manually extracted into cpio-root-19000/) and a 2nd copy in the next uncompressed cpio block which follows (extracted with "binwalk -e" into cpio-root-0/) at offset 0x3A40CE : binwalk /boot/initrd-5.8.4-1-default | grep dm-crypt.ko.xz 3817678 0x3A40CE ASCII cpio archive (SVR4 with no CRC), file name: "lib/modules/5.8.4-1-default/kernel/drivers/md/dm-crypt.ko.xz", file name length: "0x0000003D", file size: "0x000056D0" stuff extracted with "binwalk -e" and "mkdir pio-root-19000 ; cd pio-root-19000 ; cpio -id < ../19000" $ find /root/I1/_initrd-5.8.4-1-default.extracted/ -name dm-crypt.ko.xz /root/I1/_initrd-5.8.4-1-default.extracted/cpio-root-19000/lib/modules/5.8.4-1-default/kernel/drivers/md/dm-crypt.ko.xz /root/I1/_initrd-5.8.4-1-default.extracted/cpio-root-0/lib/modules/5.8.4-1-default/kernel/drivers/md/dm-crypt.ko.xz whereas lsinitrd only lists one copy -- maybe the output is "optimized" ? lsinitrd output: $ lsinitrd | grep dm-crypt.ko.xz -rw-r--r-- 1 root root 19604 Dec 19 2019 lib/modules/5.3.12-2-default/kernel/drivers/md/dm-crypt.ko.xz