1/2
I have migrated my HA install from a VirtualBox VM on a server, to use Home Assistant Operating System running on a RaspberryPi 4.
As I am using the Argon One case, I need to enable i2c-dev in order to use the case's fan and power button.
The current HA documentation talks about adding a /CONFIG directory on the hassos-boot partition.
2/2
However, my install does not have the hassos-boot partition. The current install has -kernel, -overlay, -system, and -data.
Tried using hassos-overlay/CONFIG but it didn't work.
Which partition is one meant to use to enable kernel modules?
@bigcalm Do you need to enable any device tree overlays? Or just the modprobe i2c-dev?
@intrbiz I'm using https://www.martinrowan.co.uk/2021/07/migrate-home-assistant-to-argon-one-m-2-ssd/ for guidance.
@bigcalm You need to enable the device tree overlays as step one. These are applied by the RPi bootloader, which uses the files: config.txt in the VFAT boot partition. Typically this file will have: `include extraconfig.txt`. So you can create a file in that boot partition named `extraconfig.txt` can add the lines: `dtparam=i2c_vc=on
dtparam=i2c_arm=on`. If you plug the SSD into your PC the boot partition will likely show up first.
@bigcalm it looks like the modprobe config is living in that same VFAT boot parition, and you need to create the directories.
@bigcalm very likely not mounted, it might well be /dev/sda1
@intrbiz nothing in /proc/mounts using VFAT. Maybe it's unmounted after the initial boot.
I'll unplug the drive in a bit and plug it into a laptop to snoop around.