On Fri, 26 Jul 2024 14:00:51 +0200 Pascal Hambourg
<pas...@plouf.fr.eu.org> wrote:
> On 26/07/2024 at 13:27, Thomas Hahn wrote:
> > There was some changes with the firmware packages.
>
> Yes, Nvidia firmware grew bigger (but not as much as the observed
> initramfs size increase) so they were moved from firmware-misc-nonfree
> to a new package firmware-nvidia-graphics, which is recommended by
> firmware-misc-nonfree so that existing systems which need Nvidia
> firmware are not disrupted.
>
> > firmware-nvidia-graphics was installed automatically on boxes which
> > don't have a NVIDIA device in their system.
>
> firmware-nvidia-graphics was installed on systems which already had
> firmware-misc-nonfree because firmware-misc-nonfree recommends
> firmware-misc-nonfree so that systems which rely on Nvidia firmware are
> not disrupted.
Is it possible to only install it on systems, which have a NVIDIA
graphics card?
>
> Doesn't firmware-misc-nonfree inform the user of this change on upgrade
> from a version which shipped firmware now shipped by other packages ?
>
Yes it does.
But it didn't tell me that from now on your /boot partition is out of space.
> > This blows up the initrd images to almost 4 times the size.
>
> This is not all firmware-nvidia-graphics fault but initramfs-tools 0.142
> which duplicates some firmware files in the initramfs. Bug fixed in
> initramfs-tools 0.143, but the initramfs will still be bigger than
> before due to the increased firmware size.
-rw-r--r-- 1 root root 60680537 Jul 23 23:31 initrd.img-6.8.12-amd64
-rw-r--r-- 1 root root 102671839 Jul 30 07:27 initrd.img-6.9.12-amd64
-rw-r--r-- 1 root root 60856877 Jul 23 23:31 initrd.img-6.9.9-amd64
So, the initrd.img increases from 60MB to 100MB and not 230MB when using
initramfs-tools 0.143
6.9.12 was with firmware-nvidia-graphics installed.
Better now, but will probably still causing problems when this enters
stable someday.
If /boot is not a dedicated partition, than this is not a problem.
I am using a separate boot partition, because the other main partititon
is luks encrypted.
I don't see any other reason to have a separate partition.
Increasing the boot partition size is a difficult exercise, probably
easiest way is to re-install.