On 2024-07-19 14:32:28 +0200, Diederik de Haas wrote:
> On Friday, 19 July 2024 13:08:50 CEST Vincent Lefevre wrote:
> > When upgrading the firmware:
> > 
> > [...]
> > Setting up firmware-intel-graphics (20240610-1) ...
> > Setting up firmware-iwlwifi (20240610-1) ...
> > Setting up firmware-misc-nonfree (20240610-1) ...
> > Setting up firmware-nvidia-graphics (20240610-1) ...
> > Setting up firmware-intel-misc (20240610-1) ...
> > Setting up firmware-mediatek (20240610-1) ...
> > Processing triggers for initramfs-tools (0.142) ...
> > update-initramfs: Generating /boot/initrd.img-6.9.9-amd64
> > zstd: error 70 : Write error : cannot write block : No space left on device
> 
> If you do not need all that firmware, try removing the ones you
> don't need. Especially if you don't need nvidia-graphics firmware,
> remove that because that is BIG (and the reason it got split out
> from misc-nonfree). It's a RECOMMENDS, so you can remove it (if you
> don't need it).

The graphics card is a Nvidia one, so I probably need this firmware.

In any case, the upgrade should work for any user, including when
all these packages are needed.

> On Friday, 19 July 2024 13:08:50 CEST Vincent Lefevre wrote:
> > This is wrong. There's plenty of space:
> > 
> > Filesystem                Size  Used Avail Use% Mounted on
> > ...
> >           456M  243M  189M  57% /boot
> 
> While generating the initramfs it needs a LOT more space then what's needed 
> when the generation completes successfully. It's all the uncompressed files + 
> the size of the compressed archived/initramfs.
> When done, it can remove all the uncompressed files.

But it would be silly to use the /boot partition (which is typically
small) for storing the temporary uncompressed files.

Note that https://www.debian.org/releases/stable/amd64/apcs01.en.html
does not recommend anything for the /boot partition.

https://www.debian.org/releases/stable/amd64/apcs05.en.html says
"25–50MB should suffice" (though this is probably not sufficient
for most uses).

https://linuxhint.com/boot-partition-size-debian/ says
256 MB / 512 MB for Debian 11.

Mine has 512 MB (more that 10 times the recommended 25–50MB).

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to