TitaniumJoe
Posts: 5
Joined: Fri Dec 11, 2015 9:05 am

Any way to salvage my SD card

Fri Dec 11, 2015 9:26 am

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?

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Any way to salvage my SD card

Fri Dec 11, 2015 12:07 pm

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
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

User avatar
hansotten
Posts: 341
Joined: Fri Jul 13, 2012 6:01 am
Contact: Website

Re: Any way to salvage my SD card

Fri Dec 11, 2015 1:00 pm

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.
http://duinorasp.hansotten.com for Raspberry Pi and Arduino and ESP8266
http://retro.hansotten.nl for retrocomputing with the 6502 cpu

TitaniumJoe
Posts: 5
Joined: Fri Dec 11, 2015 9:05 am

Re: Any way to salvage my SD card

Fri Dec 11, 2015 2:29 pm

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

Return to “Troubleshooting”