On Sun 26 Jul 2020 at 16:46:48 (-0700), David Christensen wrote: > On 2020-03-30 02:58, deloptes wrote: > > David Christensen wrote: > > > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955329 > > I updated/ upgraded the system today and whatever broke LUKS when I > 'apt-get dist-upgrade' and installed kernel 4.9.0-12-amd64 several > months ago now breaks LUKS when I try to boot the kernel that I have > been using prior and since -- 4.9.0-11-amd64. Fortunately, LUKS still > works with my oldest available kernel, 4.9.0-9-amd64. > > > lsinitramfs will give you the content of the initrd > > I was unable to understand your other suggestions, but tried to use > this one: > > 2020-07-26 16:35:36 root@po ~ > # lsinitramfs -l /boot/initrd.img-4.9.0-9-amd64 > > lsinitramfs-l-initrd.img-4.9.0-9-amd64.out > > 2020-07-26 16:35:57 root@po ~ > # lsinitramfs -l /boot/initrd.img-4.9.0-11-amd64 > > lsinitramfs-l-initrd.img-4.9.0-11-amd64.out > > The listings are very large: > > 2020-07-26 16:40:08 root@po ~ > # wc lsinitramfs-l-initrd.img-4.9.0-* > 1243 11247 128364 lsinitramfs-l-initrd.img-4.9.0-11-amd64.out > 1243 11247 127485 lsinitramfs-l-initrd.img-4.9.0-9-amd64.out > 2486 22494 255849 total > > And there are a lot of changes: > > 2020-07-26 16:40:50 root@po ~ > # diff lsinitramfs-l-initrd.img-4.9.0-9-amd64.out > lsinitramfs-l-initrd.img-4.9.0-11-amd64.out | grep '>' | wc > 977 9878 112569 > > 2020-07-26 16:40:52 root@po ~ > # diff lsinitramfs-l-initrd.img-4.9.0-9-amd64.out > lsinitramfs-l-initrd.img-4.9.0-11-amd64.out | grep '>' | head > > drwxr-xr-x 10 root root 0 Jul 26 15:46 . > > drwxr-xr-x 3 root root 0 Jul 26 15:46 conf > > drwxr-xr-x 2 root root 0 Jul 26 15:46 conf/conf.d > > -rw-r--r-- 1 root root 76 Jul 26 15:46 > conf/conf.d/cryptroot > > -rw-r--r-- 1 root root 16 Jul 26 15:46 conf/arch.conf > > drwxr-xr-x 2 root root 0 Jul 26 15:46 sbin > < lrwxrwxrwx 1 root root 12 Jan 9 2020 > sbin/mount.ntfs -> /bin/ntfs-3g > > lrwxrwxrwx 1 root root 12 Jul 26 15:46 > sbin/mount.ntfs -> /bin/ntfs-3g > < lrwxrwxrwx 1 root root 12 Jan 9 2020 > sbin/mount.ntfs-3g -> /bin/ntfs-3g > > lrwxrwxrwx 1 root root 12 Jul 26 15:46 > sbin/mount.ntfs-3g -> /bin/ntfs-3g
If you're going to diff listings like that, you at least need to pipe the output through something like cut --complement -b 43-54 /tmp/initrd.img-4.19.0-9-amd64.out | sed -e 's/4.19.0.9/4.19.0.X/' to strip the dates and kernel version. This will leave you with the sizes. If you're looking for missing files, drop the -l, the cut, and leave the sed. > I doubt I can find the needle(s) in that haystack. Cheers, David.