Upgrade from RPI 2 to RPI 3

Hi All,

I’m wondering what the best way to upgrade from a Raspberry Pi 2 to a 3 is.

I have a second microSD and it’s probably best to keep the pi2 as a backup, but can I for example create a Hassio instance on the 3 and the restore the snapshot from my 2?

My concern comes from ResinOS requiring a different build for the Pi 3 than the 2 - which may be funny with a full snapshot? Or should I be using a partial snapshot perhaps.

Thank you

Linton

I’m not aware of a difference but just make and restore a snapshot. Should work.

how did you go? did it work with a full snapshot restore? i’m in the same situation. thanks @LintHart

Hey @dashony,

Yep a restore seems to work from resinOS to HassOS as expected. I’d try and make sure they’re at least on the same HA version as a miminum

thanks, I’ve started the migration, see how i go, worst comes to worst, still have the Pi2 running 0.77.2 the latest, so should be fine. Thanks for getting back to me

In my very, very recent experience (and oh look, even just now I may have had my fears confirmed that I’ve killed my SD card) its just worth it to have a backup unit as cheap as an old pi with a working HASS even if its not your most current on hand when you run into problems

I can confirm that it came good on the Pi3 with the full snapshot taken from a Pi2 , but my issue is that I can not set the IP address on the new Pi to be the same as what i had on the Pi2. I removed the dhcp reservation i had on the router for the PI2 MAC address, setup a reservation on this address for the PI3 MAC address, but even after reboots no luck, it hangs onto a new address picked up from the DHCP. I’m trying to enable the SSH on it so i can go and set the IP manually, I get no luck getting into it using Putty on port 22. Not sure how to do the Resin part how some other people get into it. I’ll keep thinking on how to do this…as it is critical I have the same IP address since the MQTT server IP is setup manually in a bunch of devices. Hmm

I have never had an issue with this… Just delete the old pi from router and you should be able to reserve it for the new one.

yep it’s all deleted from the router reservation table where I reserve what’s needed to be static. And I know what the MAC is for the new Pi since it has some random IP from my dhcp scope and I was able to create a new reservation using the IP of my old PI and the new MAC address but even a PI reboot and a router reboot the PI still hangs onto the new IP instead of the one I’ve reserved for it. I saw other people having the same issue.
Another attempt to mount the SD card and navigate to /etc/NetworkManager/system-connections/ to edit the “default” file which contains the network settings where I should be able to assign a static IP… but I an unable to save the changes as I get Permission Denied, grrr

Still digging, never had so many hiccups with a small task in the past…

finally had a win, so after shutting down again the hassio on the pi and unplugging the Pi, I’ve shutdown the router, then started the router up again, once fully up and running, plugged the pi power back in and finally the router decided to follow my MAC reservation table and issue the custom IP address to the new PI . All good back up and running from Pi2 B to Pi3 B using a full snapshot.

Yeah some routers can be bastards like that. A good rebooting…