I’m have 2 rpi devices: 1 rpi 2 model B and 1 rpi 3 model B. Both with dietpi and updates to the latest versions and also with bullseye.
The rpi 2 is running HomeAssistant with USB stick as swapfile and rpi3 is running Emby and Nginx.
Can I swap the sdcard from the devices?
Jappe
March 29, 2023, 8:47am
2
If you have a RPi 2 v1.1 and you run 64bit OS on the RPi 4, you can not swap because the RPi 2 v1.1 does not have support for 64 bit.
If you have the v1.2 you can do it, it supports 64bit.
I don’t have a rpi 4 but a rpi 2 model B and rpi 3 model B and both are x86.
Jappe
March 29, 2023, 10:02am
4
Oh yes, I meant the RPi 3, not 4. And none of them have x86, the 3 and 2 v1.2 is arm64, the RPi 2 v1.1 is only 32bit.
So important for you is, that you have the RPi 2 v1.2, which can handle arm64.
pls could you fill following template
Required
DietPi version | cat /boot/dietpi/.version
Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
Kernel version | uname -a
Architecture | dpkg --print-architecture
Here is the info about the 2 rpi systems
RPI 3 Model B:
DietPi version | cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=15
G_DIETPI_VERSION_RC=2
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
G_LIVE_PATCH_STATUS[0]=‘not applicable’
Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
bullseye 1
Kernel version | uname -a
6.1.19-v7+ #1637 SMP Tue Mar 14 11:04:52 GMT 2023 armv7l GNU/Linux
Architecture | dpkg --print-architecture
armhf
-------------------------------------------------
RPI 2 Model B:
DietPi version | cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=15
G_DIETPI_VERSION_RC=2
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
G_LIVE_PATCH_STATUS[0]=‘not applicable’
Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
bullseye 1
Kernel version | uname -a
6.1.19-v7+ #1637 SMP Tue Mar 14 11:04:52 GMT 2023 armv7l GNU/Linux
Architecture | dpkg --print-architecture
armhf
both are ARMv6 images, and you should be able to swap. Just give it a try.