Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #92145

Bug#1135141: please be more careful with available disk space on /boot

From Harald Dunkel <harri@afaics.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1135141: please be more careful with available disk space on /boot
Date 2026-04-28 10:00 +0200
Message-ID <MOLwl-Zoe-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: initramfs-tools
Version: 0.142+deb12u3

Using update-initramfs -k all -c:

AFAICT the new initrd.img is constructed on /boot, while
the previous initrd is still in place. There is a high
risk of filling up all disk space, esp since zstd creates
a 3rd image at run time. If you are not careful, you
might end up with an error message at boot time, saying

initramfs unpacking failed: ZSTD-compressed data is corrupt

I would suggest to create the new initrd either on a
dedicated tmpfs or in /tmp, to move it to /boot as a final
step. You could check in advance if there is enough disk
space to hold the new initrd, and you would avoid temporary
data on /boot, making better use of the available disk
space.


Just a suggestion, of course.

Regards
Harri

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar


Thread

Bug#1135141: please be more careful with available disk space on /boot Harald Dunkel <harri@afaics.de> - 2026-04-28 10:00 +0200
  Bug#1135141: please be more careful with available disk space on /boot Ben Hutchings <ben@decadent.org.uk> - 2026-04-28 12:30 +0200
    Bug#1135141: please be more careful with available disk space on /boot Ben Hutchings <ben@decadent.org.uk> - 2026-04-29 22:10 +0200
  Processed: Re: Bug#1135141: please be more careful with available  disk space on /boot "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-04-28 12:30 +0200

csiph-web