#CM4 upgrade from 2GB to 8GB / non-lite and datas on M2

1 messages · Page 1 of 1 (latest)

foggy silo
#

Hello, I'm searching on the net since some days and did not find a step by step procedure to upgrade my original CM4 2GB RAM/16GB eMMC to a new CM4 8GB/32 eMMC. All my datas have been moved on the M.2 SSD inside my Yellow box. I think I can not just replace the CM4 right ? it will not boot corectely since it is not a Light version of the CM4. I have a full backup for sure. So, what is the best way to upgrade ? Thanks for your help.

#

and sorry for my bad english 😉

thorny heart
#
  • create a backup and download it
  • wipe the Yellow with the blue and red button method
  • change the CM4
  • install HAOS
  • move data partition to the NVMe (if it doesn't show up, you might have to remove the partitions on it)
  • upload the backup and restore it
foggy silo
#

@thorny heart many thanks, it seems to be clear for me. Just the point about NVMe, how to "remove the partition" ?

thorny heart
#

Easiest way would be a NVMe to USB adapter and using the PC.
Alternatively using the USB-C serial console and Linux partitioning tools.
Another method might be rpiboot with the mass storage option via the USB-C to access the NVMe from a PC.

foggy silo
#

When I restore a full backup, it restore IP adress of the box, password and so on too ?

thorny heart
#

All settings (except the data partition movement) are saved.

foggy silo
#

@thorny heart ok, so I can install HAOS with minimum username and password and when I will restore, I will find all my actual password restored to access the box right ?

thorny heart
#

Correct

#

As well as 2FA and so on

foggy silo
#

@thorny heart this is a good news, you save my life 😉

thorny heart
#

Both should work