[Solved] Can't boot after updating configuration.yaml

I was messing around with my configuration today trying to get a Zigbee bulb to show up as a light rather than a sensor. There must have been an issue with my configuration.yaml file because after editing it and restarting, I couldn’t access the HA UI anymore.

The strange thing is, I also can’t access any of the shared folders through Samba anymore.

I tried sticking my SD card in my laptop to fix the yaml file from there, but I can’t figure out what I actually need to edit.

My card shows as having three partitions: hassos-data, hassos-kernel, and hassos-overlay. In the hassos-data partition, I found /supervisor/homeassistant/configuration.yaml which I tried replacing with the config file from my latest backup, but that didn’t work. I then tried replacing the entire /supervisor/homeassistant directory with my backup, but still no luck.

Anybody know if there’s anything I can do? Or am I just going to have to flash my card, reinstall Hassio, and try to restore my backup from there?

Edit: It looks like the reason Samba isn’t working is probably because my Pi isn’t even connecting to my network. When I plug my Pi into a monitor and try booting it just hangs after Reached target Bluetooth. There’s also one failure that occurs before that which is Failed to start Create Volatile Files and Directories.

Here is a my similar issue #350
In my case (I hope) an utf-8 decoding error, but I don’t know how to fix it (how to rename/hide configuration.yaml in hassos)?

Thanks. It turns out my SD card was unmounted improperly (probably when I got impatient and turned off my Pi when it was still booting). So I just ended up flashing, reinstalling, and restoring my backup which I thankfully made yesterday.