Page 1 of 1

Any way to salvage my SD card

Posted: Fri Dec 11, 2015 9:26 am
by TitaniumJoe
Hello... rasp 2 B newbie here.

My Raspberry 2 froze while I was browsing using Konqueror. I couldn't do anything else except switch off the power so my old 4GB micro SD ended up corrupted.

Usually use Windows 7 to flash it. I made the mistake of not closing the SD Formatter tool before running Diskpart.exe - the flashing did not succeed.

Subsequently the card appears gone for good. I can't even format it now, some "I/O problem " reported... with both tools.

So is my card Foobar, or any way to fix it?

Re: Any way to salvage my SD card

Posted: Fri Dec 11, 2015 12:07 pm
by fruitoftheloom
TitaniumJoe wrote:Hello... rasp 2 B newbie here.

My Raspberry 2 froze while I was browsing using Konqueror. I couldn't do anything else except switch off the power so my old 4GB micro SD ended up corrupted.

Usually use Windows 7 to flash it. I made the mistake of not closing the SD Formatter tool before running Diskpart.exe - the flashing did not succeed.

Subsequently the card appears gone for good. I can't even format it now, some "I/O problem " reported... with both tools.

So is my card Foobar, or any way to fix it?
Likely have better chance booting a Linux Live GParted, than using Windows, to try and see if can re-write the partition table:

http://gparted.org/download.php

Re: Any way to salvage my SD card

Posted: Fri Dec 11, 2015 1:00 pm
by hansotten
fruitoftheloom wrote: Likely have better chance booting a Linux Live GParted, than using Windows, to try and see if can re-write the partition table:

http://gparted.org/download.php
I would try formatting in a digital camera instead of the gparted method. Gparted looks after partitions. I doubt there is low-level SD access software in there. The often primitive digital camera format function has saved many cards.

SDFormatter should overwrite the SD card, whatever partitions are there, it is supposed to access the SD card at a lower level.
Did the OP use the 'full' to look for bad blocks?

What SD Formatter (or any other sw I know of) will not do is overwrite the "Protected Area". This is for DRM and password protection! For a more indepth explanation see http://computer.howstuffworks.com/secur ... cards3.htm
The SD/SDHC/SDXC memory cards have a "Protected Area" on the card for the SD standard's security function. The SD Formatter does not format the "Protected Area". Please use appropriate application software or SD-compatible device that provides SD security function to format the "Protected Area" in the memory card. on the card for the SD standard's security function. The SD Formatter does not format the "Protected Area". Please use appropriate application software or SD-compatible device that provides SD security function to format the "Protected Area" in the memory card.
I am not aware of freely availlable software to rewrite the protected area, which may be necessary to make read-only cards writeble again.

Re: Any way to salvage my SD card

Posted: Fri Dec 11, 2015 2:29 pm
by TitaniumJoe
Thanks for the suggestions guys. I forgot to mention that my Windows laptop froze while running SD Formatter and Diskpart so I yanked the battery out. Probably it was still in the middle of writing something to the SD card when I pulled the plug.

I tried the Full modes. Tried Gparted as well with no luck. I am gonna look for a camera... thanks for the suggestion.

I should probably be more careful when stuff freeze/hang next time