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

#1115715#5
Date:
2025-09-19 11:52:24 UTC
From:
To:
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