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


Groups > linux.debian.kernel > #89326

Bug#1115715: linux: Should warn much more prominently when initrd generation failed

From Samuel Thibault <sthibault@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1115715: linux: Should warn much more prominently when initrd generation failed
Date 2025-09-19 14:00 +0200
Message-ID <LwHWp-gx7a-1@gated-at.bofh.it> (permalink)
Organization I am not organized

Cross-posted to 2 groups.

Show all headers | View raw


Source: linux
Version: 6.16.3-1
Severity: important

Hello,

As linux gets more drivers, the initrd gets larger, and /boot partitions
of existing systems may become too small. On upgrade the generation
of the initrd may fail out of ENOSPC. But the error is not showing up
completely obviously, so people sometimes miss it, only to realize on
next boot that their system is unbootable...

It would probably be useful to emit a strong warning, such as a dialog
box, to warn about failing to generate initrd, and advising to clean
/boot before re-trying dpkg --configure --pending. In a way similar to
this warning from the linux-base package:

"
You are running a kernel (version ${running}) and attempting to remove the
same version.
"

Samuel

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldoldstable-proposed-updates-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.16.0 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#1115715: linux: Should warn much more prominently when initrd generation failed Samuel Thibault <sthibault@debian.org> - 2025-09-19 14:00 +0200

csiph-web