NEWS
Migrating rapsberry pi 3+ to rpi 4 simple way
-
Read some threads but none worked for me.
Last try was
https://raspberrypi.stackexchange.com/questions/103841/how-can-i-move-a-working-raspbian-buster-installation-from-pi-3-to-pi-4
but resizing and moving using "gparted" didn't work for me. So i was stuck with a 45M /boot partition.
These steps worked for me (got a linux laptop and a second SD card, but shifting data with one card will work too):- Create a new 32bit image for rpi4 on new SD card and boot it on the rpi4.
- Copy /etc/fstab to /boot/ on rpi4.
- Mount both partition of both SD cards on the laptop.
- Clear rpi4 /root partition using "rm -rf *".
- Copy the content of the rpi3 /root SD to rpi4 /root.
- Copy the saved rpi4 "/etc/fstab" from rpi4 /boot back to rpi4 /root.
- Insert rpi4 card into rpi4, it should boot right now.
Update: - run "raspi-config" and renew the settings for the new pi4 (eg serial, ports, etc)
(condensed: create new 32 bit image, boot on pi4, save fstab, copy contents from old / to new /, restore fstab of new card)
I didn't test BT and Wifi.
HTH
Maniac -
@maniac_on_moon Thanks for your input.
In general, I would suggest starting with a new Raspberry Pi OS image and then simply install ioBroker with the one line command. Of course you need to have a backup of ioBroker (done with the backitup adapter or with the command line
iobroker backup
. -
@unclesam Hi, thanks for your reply. I agree if it is only the iobroker you are dealing with. Starting on my pi 1 B back in 2012 with a bunch of hand tailored scripts in various languages, it meanwhile monitors and controls a major part of our house including central heating, solar thermal, lights, louvers, solar power, construction dryer and the charging of the emobile via wallbaox. So a quick and painless migration was required.
On the other hand, is there a clear technical requirement for a new installation?
Thanks and kind regards
Maniac -
@maniac_on_moon sagte in Migrating rapsberry pi 3+ to rpi 4 simple way:
On the other hand, is there a clear technical requirement for a new installation?
What do you mean with this? Hardware requirements?
ioBroker generally runs everywhere where Nodejs runs. After that, the question is, what adapters you have and how many instances are running. On a smaller home, a Raspi 4 with 4GB RAM should suffice, if you have a lot of stuff going on, running it on a NAS or even a server running e.g. Proxmox is advisable. Using an SSD and not a SD card should be obvious.