The fact that the kernel tries to execute /init, rather than /sbin/init, tells us we are in an initramfs. (Also, outside an initramfs it would have tried the requested init first, not after the default init failed.)Failed to execute /init (error -2)
Kernel panic - not syncing: Requested init /usr/raspberrypi-sys-modes/firstboot failed (error -2)
So the "firstboot" error is a little misleading; the real problem is with /init. Error 2 is No such file or directory. The initramfs has loaded, and it must contain at least some files, but either /init, or /bin/sh, or /lib/ld-linux-armhf.so.3 is missing.
There is no problem with the initramfs7 file in 2025-05-13-raspios-bookworm-armhf-lite.img.xz as released. If I manually truncate initramfs7 somewhat, I get the same crash.
I do not see how this error could result from a hardware incompatibility or power glitch, unless they were on the machine that wrote the image to the card.
Statistics: Posted by jojopi — Wed Jul 09, 2025 6:12 am