I have a brand new 128GB SanDisk micro SD card that I was trying to setup for modding my switch. After the process of partitioning it and placing it in my switch, the SD card would no longer be recognized by anything and the filesystem is most likely corrupt.
When I put it back into my computer, it didn't show up in file explorer. I went to Disk Management, but there was nothing there. Same story with Device Manager. I used diskpart
from the administrator command prompt, but there was nothing there either.
The micro SD card reader that was included works flawlessly with other known good micro SD cards, so it wasn't that. When I put it into my switch, it says I need to insert an SD card and then proceeds to shut down. This is a safety feature for when the switch has its SD card taken out while on, which only shows up for me when my micro SD card is inside the switch, so the card isn't dead, still functions and can be (somewhat) detected.
Even the multiple file recovery and partitioning tools that I have downloaded and used on my computer can't detect it. I know that micro SD cards are relatively cheap and replaceable, but I would rather not throw this one away and just buy a new one, but try to fix it. An answer here may apply to other drives as well for other people (or me in the future).
Any type of recovery/partitioning tool or procedure, preferably free, would help out. Even if I have to write a program that manually sends data to/from the SD card slot and manually format/deliberately corrupt it in a way my computer can detect, I'm at least willing to try it.
I am running Windows 10.
The files are expendable.
diskpart
in Windows orfdisk
in Linux distributions.