Bug#1084232: initramfs-tools: fails with "No space left on device" due to 2 temporary initrd copies in /boot
On 2024-10-08 20:12:11 +0200, Ben Hutchings wrote:
> On Tue, 2024-10-08 at 03:41 +0200, Vincent Lefevre wrote:
> > Indeed, with 3 installed kernels:
> >
> > Filesystem Size Used Avail Use% Mounted on
> > /dev/nvme0n1p2 456M 295M 137M 69% /boot
> >
> > So there isn't enough space for a 4th kernel + a temporary copy
> > (90 MB each at maximum compression + 9 MB for the vmlinuz file).
>
> OK. But 'apt autoremove' should normally remove one of the old
> kernels.
Only if the user reboots *immediately* to switch to the new kernel.
This may be unwanted if there is onging work.
> And I don't see how this answers my question about the claim of 2
> temporary copies.
I've said that there was actually only one temporary copy. Still,
this gives a limitation of 3 permanent kernels (with a 4th slot
temporarily for an upgrade).
Given that there are more bugs related to new kernels (screen blanking
issues, broken bluetooth), this makes things difficult.
--
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 / AriC project (LIP, ENS-Lyon)
Reply to: