Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5008

Troubleshooting • Re: Pi 5 won't boot Pi 4 SD card (Bookworm)

$
0
0
thanks for the thorough explaination, and yes, I had started with the NextcloudPi package, and upgraded that using apt to get to Bookworm, so this all sounds very encouraging like it might actualy be doable, all except the following:
manual actions to select other/new kernel and firmware packages (new names)... and do changes in config.txt.
are there any guides posted that explain how to "select other/new kernel and firmware packages" and which of those to select? I understand the remount part, but no idea what changes to make in config.txt - apt tells me I already have the latest firmware, so I'm installing the v8 now.
I don't know any guide, I have listed what to do several times on this forum, including this message. You need to understand how a Pi boots, in case of an unexpected error you can then always get it to run again. I have upgraded about 10 Pis this way.

Make sure you keep backups of the files in the boot partition as earlier versions bookworm don't handle all files correctly and will leave your Pi unbootable. So before reboot into new firmware and kernel and DTB, make sure they are all there in the boot partition. You could compare with a fresh downloaded OS image. loopmount it to see the files in bootpartition.

You need initramfs to work in Bookworm, should be added automatically, I think, but I had it already in Bullseye so rather easy upgrading.
W.r.t. initramfs, in Bookworm there is an automatic easier way of loading it; make sure you have the following on /boot/firmware/config.txt before reboot:
arm_64bit=1
auto_initramfs=1

so remove the old initramfs lines in case you had them

if you have installed the 2 packages I indicated, your bootpartition, /boot and /usr/lib/modules shall have the latest v8 kernel 6.6.47
Old packages raspberrypi-bootloader raspberrypi-kernel shall be removed (later on) but check if then the new files are still there otherwise reinstall of copy from a backup.

Statistics: Posted by redvli — Tue Sep 10, 2024 6:50 pm



Viewing all articles
Browse latest Browse all 5008

Trending Articles