Earlier today I had an issue where my pi couldn’t be ssh’d into and the hdmi port was outputting nothing. I powered it off with the power button and it rebooted into emergency mode (I assume the sd card corrupted?). I reformatted the sd card and it was fine. However, it has just happened again. Does anyone know what could be wrong?

  • BakedCatboy@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    6 days ago

    I used to get corrupted SD cards all the time when running Pis 24/7 (remote, outdoor, in an enclosure) so I finally switched to the white industrial SD cards and haven’t had an issue since, so maybe that’s worth a shot. I only use regular SD cards for temporary testing now.

    (Edit: the ones I use are SanDisk industrial for reference)

    • arudesalad@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 days ago

      The official one that came with the pi. It is plugged into a power bar but that hasn’t ever been a problem, I’ve had it since december 2023

  • CHKMRK@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 days ago

    If it happens again and you’re curious you could mount the root partition of the sd card and look at the logs and try to fix the issue

  • arudesalad@sh.itjust.worksOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 days ago

    No important data is on the SD card, only an external drive attached to the pi. I have had to turn the pi off to take the data off of the drive.