Upgrade Raspberry Pi 2 to Raspberry Pi 4

227 views
Skip to first unread message

bchap...@gmail.com

unread,
Feb 14, 2022, 9:34:31 PM2/14/22
to weewx-user
Can I just swap out the card?

Doug Jenkins

unread,
Feb 14, 2022, 9:53:33 PM2/14/22
to weewx-user
Well that depends:

1. What version of Raspbian is the RPi2 using?
2. Do you have any device-specific items on i2c or via GPIO?

If it is a RPI4 and the RAM is over 4GB (eg 8gb version), then you should consider setting up the new Raspberry Pi OS 64bit release. 

Another consideration is to update the micro-sd card to another newer card or use a USB drive. The new RPI4s (newer than Sept 2020) support boot from USB Device.

Just my $0.02

DDJ

vince

unread,
Feb 14, 2022, 10:01:47 PM2/14/22
to weewx-user
Experimentation will tell you.
The worst that happens is it doesn't work.

But personally I'd upgrade to the current os and take this as an opportunity to start cleanly and document how you (re)installed everything.

Bruce Chapman

unread,
Feb 14, 2022, 10:11:49 PM2/14/22
to weewx...@googlegroups.com

On Feb 14, 2022, at 16:53, Doug Jenkins <do...@dougjenkins.com> wrote:

Well that depends:

1. What version of Raspbian is the RPi2 using?

Buster 10.11

2. Do you have any device-specific items on i2c or via GPIO?

No


If it is a RPI4 and the RAM is over 4GB (eg 8gb version), then you should consider setting up the new Raspberry Pi OS 64bit release. 

2GB Ram

I was hoping for just a swap out but if there is an advantage to a fresh install, that’s what I’ll do

Thanks for your advise.



Another consideration is to update the micro-sd card to another newer card or use a USB drive. The new RPI4s (newer than Sept 2020) support boot from USB Device.

Just my $0.02

DDJ

On Monday, February 14, 2022 at 4:34:31 PM UTC-5 bchap...@gmail.com wrote:
Can I just swap out the card?

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/wPrwvf0iZe4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/14ce56e6-7597-46e6-867d-85873ad36d3dn%40googlegroups.com.

p q

unread,
Feb 14, 2022, 10:12:19 PM2/14/22
to weewx...@googlegroups.com
Unless you're dealing with a hardware failure of your old Raspi, I'd set up the new one from scratch as suggested, but I'd do it before taking down the old one.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/2d9eaf54-81e8-4758-96c1-9a7987382740n%40googlegroups.com.


--
Peter Quinn
(415)794-2264

Seth Ratner

unread,
Feb 16, 2022, 3:12:27 PM2/16/22
to weewx-user
If you are not using any other devices connected to the RPi2, I would set up the RPi4 with a fresh install on a new SD card (use the newly released 64-bit OS). Get WeeWX installed, copy over all your customized files (weewx.conf, skin.conf, any custom drivers or services, etc), install any extensions you're using. Get the new RPi4 running correctly before you ever stop WeeWX on the old RPi2. When you're happy the new Pi is running the same as the old one, stop WeeWX on both Pis and copy the database from the old one to the new one. Then start WeeWX back up on both, and make sure the new one has the archive and is running well. 

But if your old RPi2 is working and is just running WeeWX, I don't know if there's much reason to upgrade to a RPi4.

Reply all
Reply to author
Forward
0 new messages