On Sat 12 Nov 2022 at 01:57:51 (-0500), Felix Miata wrote: > # grep MODULES= /etc/initramfs-tools/initramfs.conf > MODULES=dep > # ls -Ggh /boot/initrd.img-[5,6]* > -rw-r--r-- 1 6.8M May 8 2022 /boot/initrd.img-5.17.0-1-686 > -rw-r--r-- 1 31M Aug 2 03:06 /boot/initrd.img-5.18.0-3-686 > -rw-r--r-- 1 31M Sep 30 15:43 /boot/initrd.img-5.19.0-2-686 > -rw-r--r-- 1 36M Nov 12 01:36 /boot/initrd.img-6.0.0-3-686 > > Does anyone here have an explanation for the mega-change in size of initrds > after > kernel 5.17? My initramfs.conf has had MODULES=dep since before > testing/bullseye > became testing/bookworm.
Can you try running lsinitramfs <initrd> | sort on each, and compare what's included, to see whether that differs. (Using lsinitramfs -l would need options adding to sort, and some post-processing, to get much sense out of a diff.) I have a system that's not fully configured, and is rather old. drwxr-xr-x 2 root root 4096 Jan 8 2022 efi/ drwxr-xr-x 5 root root 4096 Jan 8 2022 grub/ -rw-r--r-- 1 root root 83 Dec 8 2021 System.map-5.10.0-10-amd64 -rw-r--r-- 1 root root 83 Sep 30 2021 System.map-5.10.0-9-amd64 -rw-r--r-- 1 root root 236056 Dec 8 2021 config-5.10.0-10-amd64 -rw-r--r-- 1 root root 236055 Sep 30 2021 config-5.10.0-9-amd64 -rw-r--r-- 1 root root 29578226 Jan 8 2022 initrd.img-5.10.0-10-amd64 -rw-r--r-- 1 root root 28159235 Jan 8 2022 initrd.img-5.10.0-9-amd64 -rw-r--r-- 1 root root 6841280 Dec 8 2021 vmlinuz-5.10.0-10-amd64 -rw-r--r-- 1 root root 6833568 Sep 30 2021 vmlinuz-5.10.0-9-amd64 However, they'll both be MODULES=most; perhaps I'll boot it sometime and regenerate them with MODULES=dep. Currently, this same machine, also MODULES=most, has: drwx------ 3 root root 4096 Dec 31 1969 efi/ drwxr-xr-x 5 root root 4096 Nov 3 23:26 grub/ -rw-r--r-- 1 root root 83 Sep 2 08:54 System.map-5.10.0-18-amd64 -rw-r--r-- 1 root root 83 Oct 21 15:24 System.map-5.10.0-19-amd64 -rw-r--r-- 1 root root 236286 Sep 2 08:54 config-5.10.0-18-amd64 -rw-r--r-- 1 root root 236275 Oct 21 15:24 config-5.10.0-19-amd64 -rw-r--r-- 1 root root 36946455 Sep 12 15:20 initrd.img-5.10.0-18-amd64 -rw-r--r-- 1 root root 36951179 Nov 4 13:16 initrd.img-5.10.0-19-amd64 -rw-r--r-- 1 root root 36951452 Nov 3 23:21 initrd.img-5.10.0-19-amd64.bak -rw-r--r-- 1 root root 6962016 Sep 2 08:54 vmlinuz-5.10.0-18-amd64 -rw-r--r-- 1 root root 6963648 Oct 21 15:24 vmlinuz-5.10.0-19-amd64 Cheers, David.