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?

  • @[email protected]
    link
    fedilink
    English
    161 month ago

    Your image is itty-bitty here in Lemmy-land, at least, but a dead SD card on HA is… unsurprising.

    It might be recoverable if you plug it into a linux box and try to extract the data, but as for recovering it, it’s the same as a dead hard drive: you might get data back, but the physical media is trash.

    You probably want to NOT use a SD card and pick any other option (USB real SSD, NVMe hat, etc.) because, well, SD cards are not very good at this kind of use case. (HA writes a lot of historical data, and is basically always chattering away on the disk.)

      • @[email protected]
        link
        fedilink
        English
        31 month ago

        It’s not clickable but it might be because I’m not caching/proxying images on my install (single user install, so really, no reason to do so) and that causes some other unexpected interactions.

        But yeah, that looks like a dead SD card; the failed to mount the partition and then ext4 complaining it’s in read-only mode is… probably not going to result in good things for your data :(

        • JeenaOP
          link
          fedilink
          11 month ago

          Ah, I didn’t make it a link to be clickable, sorry, fixed it now for everyone else ^^