by codicodi » Sat Jan 03, 2026 8:07 am
I think I encountered the same problem, and my RPI5 system actually failed to boot after an upgrade. I didn't get a pacnew file however, as my config.txt is unmodified.
Docs for config.txt seem to explain what happened: auto_initramfs option places strict requirements on how initramfs file is named:
[url]https://www.raspberrypi.com/documentation/computers/config_txt.html#auto_initramfs[/url]
[code]If auto_initramfs is set to 1, the firmware looks for an initramfs file to match the kernel. The file must be in the same location as the kernel image, and the name is derived from the name of the kernel by replacing the kernel prefix with initramfs, and removing any extension such as .img, e.g. kernel8.img requires initramfs8. You can make use of auto_initramfs with custom kernel names provided the names begin with kernel and initramfs respectively and everything else matches (except for the absence of the file extension on the initramfs). Otherwise, an explicit initramfs statement is required.[/code]
In our case the kernel file is kernel8.img so it requires initramfs8, while we have initramfs-linux.img. So we need either to change back to explicit initramfs statement or change default_image in the mkinitcpio preset file.