Can I easily switch from Pi4 to Pi5?

I have a Pi4 4GB with boot from SD and system on USB SSD.

Can I just plug the USB SSD and SD card into Pi5 8GB and carry on as before?

You would need to switch to new RPi5 kernel structure beforehand. Image | Raspberry Pi 5: Testing and firmware migration script · Issue #6676 · MichaIng/DietPi · GitHub

1 Like

That means I first do the migration script on my old Raspberry Pi and then I can connect it to the Pi5 and boot it?

bash <(curl -sSf ‘https://raw.githubusercontent.com/MichaIng/DietPi/dev/.meta/dietpi-rpi-firmware-migration’)

If that’s all I have to do then I’ll get it done!

First thing is to read and understand the warning we placed on GitHub. Afterwards run the migration script and verify your system still working/booting fine. If that’s the case, you can switch to RPi5.

All right, I’ll just take the risk and if necessary I’ll just have to start over! :saluting_face:

You could also make an image from your working system so you can easily restore it in the case something went wrong.

DietPi also provides a script for this or you use a tool like dd.
https://dietpi.com/docs/hardware/#script-execution

2 Likes