Comment # 22 on bug 1175908 from
(In reply to Franck Bui from comment #21)
> You can try to dump the content of 2 initrds, one which fails to boot and
> the other one which is ok, and compare the outputs.
> 
> You can dump the relevant content of an initrd with the following commnad:

that's what I did with 'binwalk': I've fully extracted trees of both initrd.

the differences are shown in comment 18 with this command:

$ comm -3 <( find _initrd-5.3.12-2-default.extracted/ -name \*.ko\* |  sed
's,.*/,,' | sort -u ) <( find _initrd-5.8.4-1-default.extracted/ -name \*.ko\*
|  sed 's,.*/,,' | sort -u )


> >  $ lsinitrd --kver <kernel-version-ko> | sed -ne 's,.* \(lib/modules/.*.ko\),\1,p'

didn't know lsinitrd, thanks!

but I notice that lsinitrd does not show the *.ko.xz in the next cpio block
*after* the large compressed cpio block: there are more files (firmware for
i915 and 23 more kernel mods which will be extracted with "binwalk -e ..." into
cpio-root-0/...)


You are receiving this mail because: