2013-10-03, 16:47
(2013-10-03, 15:27)hpbaxxter Wrote: I never had the issue of a "lost" sdcard, but I usually use the windows tool diskpart from within cmd to clean an sdcard before formatting, maybe another solution (besides the ones of Lindar and hudo) for windows:
- type "diskpart" inside cmd (the command-line in windows)
- type "list disk" inside the new diskpart window
- search the correct sdcard by size and type "select disk X" with X for the corresponding number
- double-check that you have selected the right disk!!! ... and then type "clean"
- exit by typing "exit" or just close the window
Now you have a clean sdcard without partitions/mft which could confuse any program. I'm not sure, but I think that might work as well and should be worth a try for people without a linux installation. Although I would be surprised if a tool like win32diskimager (my first choice for windows) couldn't directly copy a new image to a corrupted sdcard, for example from openelec.thestateofme.com/official_images or from a previously backuped sdcard.
I have a botched SD card, corrupted by OpenELEC, (part of a USB install) now write only. Kinda hoped your instructions might just salvage it, unfortunately not:
Code:
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 465 GB 1024 KB
Disk 1 Online 7580 MB 0 B
DISKPART> select disk 1
Disk 1 is now the selected disk.
DISKPART> clean
DiskPart has encountered an error: The request could not be performed because of
an I/O device error.
See the System Event Log for more information.
DISKPART>