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?
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