I run my HomeAssistant on a RaspberryPi 4 from a SD card. Two days ago I did a upgrade to the newest version (I don’t remember if it was HomeAssistant or the Operating System) and since then it does not boot anymore.
I connected it via HDMI to a screen and got those errors:
It looks to me that the SD card is corrupted or something. Any idea if I can fix it in any way or do I need to redo the setup from scratch?
2 things, one of which has already been said
Get an SSD and a usb cable for it. Boot off that. Be aware that not all cables are the same (have a Google for usb 3 SSD cables for home assistant before you buy one). There’s a little song and dance you have to do to boot off ext SSD but it’s not hard and doesn’t take long (Google).
That combo will eliminate the SD card issues in the future. But you also need to look into the Google Drive backup add-on. Get that for when shit goes down.
With those two things you should be all set and eliminate this ever happening again. If it does you have a backup.
Hope you were able to fix your Home Assistant. I just came to quickly recommend a way to easily backup your installation. https://github.com/sabeechen/hassio-google-drive-backup
The SD card is broken, but not totally dead yet.
So, decide now if you want to try and rescue some files from it, then DO NOT USE IT anymore until the real data recovery operation starts. No further tries to boot, no fsck etc.
To add to this, I’d personally just clone the card immediately to somewhere else then do all the recovery efforts on the clone; if only to avoid burning out the SD card even more during recovery.




