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?
7 Comments
drspod@lemmy.ml · 2 pts · 1y
What power supply are you using?
arudesalad@sh.itjust.works · 2 pts · 1y
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 · 2 pts · 1y
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.works · 2 pts · 1y
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.
BakedCatboy@lemmy.ml · 2 pts · 1y
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)
andybytes@programming.dev · 1 pts · 1y
Possibly a short in that button. I had one of those, it kept doing that.
MadhuGururajan@programming.dev · 1 pts · 1y
Worthwhile to check temperatures and see if the PI is shutting off after overheating.