Edit ‘config.txt’ on Pi 5 HA OS 13.2 image?

The pi 5 13.2 image doesn’t have a windows mountable boot partition. Question: how on earth can I edit the config.txt file to add an overlay? I need to do this to be able to use my old Razberry 2 z-wave adaptor. If anybody has managed to get this to work could you please share how?

Follow this guide to get SSH access installed and accessible from another machine.

Once you ssh into HA cd /mnt/boot and you can then edit the file.

Looks like the RPi images use an EFI partition type for the boot partition. It sounds like Windows doesn’t make it easy to access EFI partitions. You can search for something like “mount efi partition windows” and see if any of the myriad of solutions work for you. The filesystem type is still VFAT, so once mounted Windows should be able to edit it.

I was able to mount the disk image in Linux using the loopback device and then then mount the boot partition and it identifies as VFAT.

Other options:

  1. Use a Linux system (other than HAOS) to mount the partition. Even a VM with the disk passed through would work.
  2. Enable SSH access to the host and then you can edit the file. https://developers.home-assistant.io/docs/operating-system/debugging#enabling-ssh-access-to-the-host.

Thanks freshcoast and rouxdoo … I’ll give that a try

I tried the process in the developers section to no avail. It’s a bit ambiguous about creating the USB stick with a partition named CONFIG. in the end I tried creating a volume of that name, but no luck.
I then came across an addon which sets up SSH for you: Get root SSH access to the Home Assistant root system remotely (no USB drive needed) ssh into the host system - CLN.io This worked, and I’ve managed to edit my ‘config.txt’ file :-).
Now to see if I can see my Razberry card …

UPDATE: Yay! it’s worked :grinning: