#Can I swap the compute module on my yellow?

1 messages · Page 1 of 1 (latest)

quick tree
#

I have a yellow with a fairly wimpy 2GB Ram module installed. I ordered one with 16GB of ram, do I need to do anything to swap them out? or should it be plug and play?

stoic sinew
quick tree
#

I moved everything to NVMe as i only have a 2GB lite

#

Raspberry Pi Compute Module 4, 8GB, 32GB - CM4008032 - NO WIFI!

#

you're right, I only got eht 8GB model

#

But otherwise I should be able to just swap them out without issue? Obviously i'll take a backup first

stoic sinew
#

If HAOS is installed to the NVMe, it can be swapped.
It HAOS is installed to the eMMC and the data partition has been moved to the NVMe via the UI, a full reinstall would be needed.
You should create and download a backup before swapping the modules.

quick tree
#

How do I know if it was fully installed on the NVMe?

stoic sinew
#

You either flashed it to the NVMe or used the button method on install - then the OS is on the NVMe.
If you did the default installation and used that "move data disk" later - then the OS is on the eMMC.

quick tree
#

Then the os is on the emmc

#

is there any way to migrate that? Or would a backup/reinstall/restore be the best option?

stoic sinew
#

No. Backup (and download it), wipe everything with the red+blue button method, then swap the CM4s.

#

After the OS install, I would recommend to do the onboarding with temporary credentials, move the data disk and when that is finished, upload your backup via the backup page and restore it from there.

quick tree
#

so an install to the EMMC is required?

stoic sinew
#

No. You can also either try to use the blue button method during the install to install to the NVMe (if it works) or flash the OS manually to the NVMe.

quick tree
#

I think that's what i'll try then, I'd like to know I could swap out the cm4 module if needed

#

without having to reinstall the os, which isn't a big deal, but is a bit of a PITA on a device with no screen haha

stoic sinew
#

In this case, you will have to reinstall. Do you have a NVMe to USB adapter? That is likely easier than using the Yellow as adapter.

quick tree
#

I do not have an nvme adapter, at least I don't think I do....

#

I have so much stuff, i might just :p

#

I have an m2 one, but it's not nvme 😦

stoic sinew
#

In theory it would still be possible to flash the OS (not the installer the guide uses) directly to the NVMe. But it is a hassle. And as it is not too likely you will swap again, I would just do the default install and restore a backup.

quick tree
#

okay, I ordered an nvme to usb adapter, I should have one any way

#

but you're suggesting I should be able to plug that in, and use rpi flasher to install HAOS on to the NVME, and then restore a backup?

#

Also, thank you very much for helping me

stoic sinew
#

The RaspberryPi Imager just shows the installer, not the OS itself.

#

At least for the Yellow

quick tree
#

will the NIC MAC change when I swap the modules?

#

or is that part of the adapter on the yellow mainboard?

stoic sinew
#

When it is showing the onboarding screen, do the onboarding (I wouldn't recommend to upload the backup there) with temporary credentials, go to the backup page, upload your backup via the dotsvertical menu and start the restore when it is showing in the list

#

The MAC is part of the Yellow board.

quick tree
#

Excellent!

#

I think I have a plan now

#

Thank you so much!

#

I love HA, I used to run it containerized on an old 6 core xeon mac pro

#

but I bought the yellow to support the project and then the pandemic made getting the CM4s impossible

#

so bought one from germany, an got the 2GB lite

stoic sinew
#

Yeah. The release was a bad timing.

quick tree
#

but now I'm finding it's running out of memory very quickly with the size of my install

stoic sinew
#

Not bad timing in the meaning of planning, but more in context of the pandemic and the shortages.

quick tree
#

oh, yeah, I got that 🙂

#

8GB of ram should be enough

#

if that doesn't work

#

I have a mac mini here from 2007 that shoudl be more than capable of the task

stoic sinew
#

If you don't do really crazy stuff, that should be enough.

quick tree
#

not sure what 'crazy stuff' is

#

but i'm running adguard and NPM

#

oh and zigbee2mqtt

#

had to plug in my sonoff adapter to the yellow to avoid having to repair all my devices

stoic sinew
#

Well... I run Firefox as an addon. It is as RAM hungry as the desktop one dr_evil

quick tree
#

I've only got 26 devices, but it's a PITA I didn't need

#

firefox as an addon?

#

for why?

stoic sinew
#

My router's settings pages cannot be integrated as iframes for example. Via the addon I can get remote access.

quick tree
#

ohhhh, that's not something I would have considered integrating into ha

stoic sinew
#

And maaaaaybe our company network blocks Discord and it is a way to circumvent it. dr_evil

quick tree
#

I'm just now trying to get BT presence tracking and proxcies working

#

Ah, my company doesn't block discord

#

but it does block tailscale lol

#

some other competing products

#

I just got NPM installed to handle letsencrypt certs so I could get access to HA remotely

stoic sinew
#

That doesn't count as "crazy" shksD

quick tree
#

Yeah, I mean I recognize that it's a RPI in there

#

so I don't expect a lot from it

#

but i'm looking forward to removing the need for the power hungry mac pro

stoic sinew
#

The Yellow didn't give me an excuse to change to a fanless N100 PC yet.

#

The only negative I encountered was the inability to use a Google Coral for Frigate.

quick tree
#

I don't know what that is

#

I'm an aws guy :p

quick tree
#

I don't work for them, but my company uses them extensively