Recover failed SD card

Tomasz Rola rtomek at
Tue Feb 26 20:13:16 UTC 2019

On Sat, Feb 23, 2019 at 05:50:27PM +0100, Andrea Venturoli wrote:
> Hello.
> A customer of mine gave me an SD card which is quite surely failing.
> I'm trying to recover what I can.
> I first tried using an USB based reader: altough the SD card should
> be 4GB in size, dd just copies 121MB. So does recoverdisk.
> "camcontrol readcap /dev/da3" gives:
> >Last Block: 248319, Block Length: 512 bytes
> which agains means about 121MB.
> I put the card in another box and i get:
> >mmcsd0: 127MB <SD  0.0 SN 00000000 MFG 00/0000 by 0x0000> at mmc0 0.4MHz/4bit/65535-block
> Is there any way I can get beyond this 121-127MB limit and read what
> I can of the rest?

Out of curiosity, a question: can you do "fdisk -l" on the said card?
Or an equivalent to try displaying partition table.

Tomasz Rola

** A C programmer asked whether computer had Buddha's nature.      **
** As the answer, master did "rm -rif" on the programmer's home    **
** directory. And then the C programmer became enlightened...      **
**                                                                 **
** Tomasz Rola          mailto:tomasz_rola at             **

More information about the freebsd-questions mailing list