microSD card corrupted ??

mpierrat25

Reputable
Apr 7, 2014
3
0
4,510
Hi,
I have a 16GB microSD card showing now only 6 MB :

# fdisk -l /dev/sdb

Disk /dev/sdb: 6 MB, 6291456 bytes
2 heads, 16 sectors/track, 384 cylinders, total 12288 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 25 12271 6123+ 1 FAT12
#


any idea how to fix it ???
 
Did it ever show 16 GB, or is it possible that you got gypped? Although 6 is such a strange number?
Does it have anything on it that you need? If not, and you have access to a Windows box, I suggest that you run h2testw. Here's a link to an article praising it: http://fightflashfraud.wordpress.com/2008/11/24/h2testw-gold-standard-in-detecting-fake-capacity-flash/
 

mpierrat25

Reputable
Apr 7, 2014
3
0
4,510
it's not a fake I had already lot of space on it.
also Fat12 seems strange ( got in it wifi config for gopro )
I suspect partition table to be incorrect so I'll try to save MBR et zero it
to see what happen
 

mpierrat25

Reputable
Apr 7, 2014
3
0
4,510
# dd if=/dev/sdb of=mbr.img count=512 bs=1
512+0 records in
512+0 records out
512 bytes (512 B) copied, 0,00222264 s, 230 kB/s
# dd if=/dev/zero of=/dev/sdb count=512 bs=1
dd: opening `/dev/sdb': Read-only file system

so I need to be able to write first !!