Bug#1084232: initramfs-tools: fails with "No space left on device" due to 2 temporary initrd copies in /boot
Control: retitle -1 initramfs-tools: update-initramfs fails with "No space left on device" due to 2 temporary initrd copies in /boot
On 2024-10-07 00:39:23 +0200, Vincent Lefevre wrote:
> When updating an initrd file, update-initramfs keeps 2 temporary
> copies in /boot, though its space is typically *very* limited
> (456 MB by default). This means that one can keep a limited number
> of kernels. With the 456 MB default size and maximum compression
> (COMPRESS=lzma and COMPRESSLEVEL=9), only 3 kernels are possible.
The error:
[...]
Processing triggers for initramfs-tools (0.145) ...
update-initramfs: Generating /boot/initrd.img-6.11.0-rc2+
lzma: (stdout): Write error: No space left on device
E: mkinitramfs failure cpio 141
E: mkinitramfs failure lzma -9 1
update-initramfs: failed for /boot/initrd.img-6.11.0-rc2+ with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
--
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: