I have an application on a Raspberry PI 4 that will not run on the last update to linux-image-6.12.20+rpt-rpi-v8. There is a new version of this application that will run on 6.12.20, but it requires a complete re-install, which is planned. I would like to temporarily revert to linux-image-6.6.74+rpt-rpi-v8 to keep this PI operational until I can build a new sdcard with the updated application. One other point, I need to reboot to 6.6.74 remotely over ssh. This PI is headless in a remote location.
If I were using a system with grub, I might simply run something like grub-reboot '1>2'. Of course, the PI does not have grub.
In researching this a bit, I found at least one response that said I could copy /boot/vmlinuz-6.6.74+rpt-rpi-v8 to /boot/firmware/kernel8.img. I suspect that also requires copying /boot/initrd.img-6.6.74+rpt-rpi-v8 to /boot/firmware/initramfs8. I have confirmed the PI is running the v8 kernel using uname, which returns 6.12.20+rpt-rpi-v8.
Can anyone confirm this is a good method to revert to the previous kernel on a Raspbery PI 4 currently running 6.12.20+rpt-rpi-v8/
Thanks!
David
If I were using a system with grub, I might simply run something like grub-reboot '1>2'. Of course, the PI does not have grub.
In researching this a bit, I found at least one response that said I could copy /boot/vmlinuz-6.6.74+rpt-rpi-v8 to /boot/firmware/kernel8.img. I suspect that also requires copying /boot/initrd.img-6.6.74+rpt-rpi-v8 to /boot/firmware/initramfs8. I have confirmed the PI is running the v8 kernel using uname, which returns 6.12.20+rpt-rpi-v8.
Can anyone confirm this is a good method to revert to the previous kernel on a Raspbery PI 4 currently running 6.12.20+rpt-rpi-v8/
Thanks!
David
Statistics: Posted by d5m — Thu Apr 03, 2025 9:56 am