Moving OH to MicroSD from Pi4 to Pi4

Guys, I have a hardware and software question.

I am currently using OH4.3.5 on Raspberry Pi4 4GB with great satisfaction.
From what I have observed, OH5 is approaching with great strides and I would like to test it a bit before the final version sees the light of day.
I have a 2GB Raspberry Pi4 as a spare device which I would use as a test platform. Assuming that my fun will end with the acceptance of OH5 stability and the desire to transfer what I have created for testing to the production version but I have the following questions:

  1. In the case of OH installed using openhabian, if I move the microSD card from one Pi4 (2GB) to another Pi4 (4GB), will the system start normally?
  2. Is there a configuration of the hardware on which OH is running stored somewhere in the files saved on the card? Especially the amount of memory and motherboard serial numbers?
    3.Will it detect that the installation was originally on Pi4 (2GB) and is now running on Pi4 (4GB) - what will happen then?
    4.For such freely switching between two Raspberry computers, would it be better to buy another Pi4 (4GB) to reduce the difference in memory? Then the question about the serial number of the motherboard or MAC address would be relevant - does the starting OH check such data and if it detects different than before, would it stop the start or create another problem?

There should be no problems, as both Pi models use identical hardware (except memory, of course).

BUT: openHAB5 is 64 Bit only, and so you have to use 64 Bit versions for OS and Java as well.
64 Bit tends to use more memory, and 2 GByte is for sure not that much…
So you may experience some quirks on the 2GByte model, which will not apply on the 4GByte model at all.

In question of serial numbers or MAC: obviously, the MAC will be relevant if it comes to DHCP, but this should be the only thing to take care of.

1 Like