I have lots of IoT devices running linux off an SD card, and for some reason they've all recently stopped working!
To get to the bottom of the issue, I tested these SD cards in Windows laptop.
The laptop could not read the SD cards, meaning:
- Disk Management hung indefinitely
- DISKPART hung when I tried to list
- the volumes CHKDSK reported the disk as RAW formatted
I thought all hope was lost until I set the SD card to read-only using the little switch on the side of the card.
The laptop was then able to fully read the SD cards, meaning:
- Disk Management worked ok
- DISKPART showed the volumes ok
- CHKDSK reported the disk as FAT formatted (i.e. FAT 16)
So my questions now are:
- What on earth is going on here and why?!
- How do I recover these SD cards, since reformatting them fails in read only mode and read/write mode hangs everything.
- Are there tools that can help with this?
Thanks in advance!