Re: Enlarging /boot and swap partitions
On 2025-09-15 11:28:41 -0400, Stefan Monnier wrote:
> >> The normal size of an initrd image (i.e. by installing the
> >> recommended packages) is not about 9 MB, but now 100 MB:
> >>
> >> -rw-r--r-- 1 root root 99M 2025-05-27 23:26:17 initrd.img-6.7.12-amd64
> >> -rw-r--r-- 1 root root 104M 2025-08-11 23:40:35 initrd.img-6.12.38+deb13-amd64
> >>
> >> (this is with maximum compression).
>
> Hmm...
>
> % l /boot/initrd.img-6.1*
> -rw-r--r-- 1 root root 13453587 7 jui 17:44 /boot/initrd.img-6.12.33+deb13-amd64
> -rw-r--r-- 1 root root 13621466 29 aoû 18:54 /boot/initrd.img-6.12.38+deb13-amd64
> -rw-r--r-- 1 root root 13715054 11 sep 11:22 /boot/initrd.img-6.16.3+deb14-amd64
> %
>
> But yes, I'm using `MODULES=dep` and `COMPRESS=lzma` (tho I don't think
> the COMPRESS setting is the source of the discrepancy).
So I've tried MODULES=dep (and still COMPRESS=lzma and COMPRESSLEVEL=9
as before). Now:
-rw-r--r-- 1 root root 122M 2025-09-16 00:43:13 initrd.img-6.16.7+deb14-amd64
But this is still *a lot*.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Reply to: