SD Card totally dead, kind of.

Forum rules
Before you post please read this
Post Reply
nathanjh13
Level 3
Level 3
Posts: 179
Joined: Mon Mar 22, 2010 2:48 pm

SD Card totally dead, kind of.

Post by nathanjh13 » Mon Apr 13, 2015 12:49 pm

Hiya.

My Galaxy S4 (after reading and writing a lot of info to the SD card) has made the card unreadable now, it seems. A pity as some info is backed up of course but not the newer info.

With the SC card in the slot noting is recognised but under fdisk I get:

Code: Select all

Disk /dev/sdb: 1073 MB, 1073741824 bytes
34 heads, 61 sectors/track, 1011 cylinders, total 2097152 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

Disk /dev/sdb doesn't contain a valid partition table
It's an 8Gb card so that doesn't look good anyway. There are no other drives on the pc so it must be that?

I can't run photorec etc until I get the drive recognised? Should I do a quick format and hope I can undelete? Try on different machines etc?

Many thanks

Mute Ant
Level 14
Level 14
Posts: 5135
Joined: Tue Sep 03, 2013 7:45 pm
Location: Norfolk UK

Re: SD Card totally dead, kind of.

Post by Mute Ant » Fri Apr 24, 2015 4:12 pm

Photorec will accept /dev/sdb as the source device if you allow it to run in root mode [it asks to switch using sudo]. Linux and applications have to accept the data seen by fdisk...that's all the SD card is prepared to admit exists. So it looks close-to-hopeless with the missing 7GB :(

Definitely clean the contacts with a humid cotton bud and try again, and try a different reader.
While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named "manual".

nathanjh13
Level 3
Level 3
Posts: 179
Joined: Mon Mar 22, 2010 2:48 pm

Re: SD Card totally dead, kind of.

Post by nathanjh13 » Thu Jun 11, 2015 5:04 pm

Many thanks. I gave it a whirl (I'm still trying with this card).

I ran:

Code: Select all

nathan@nathandesktop ~ $ sudo parted -l /dev/sdb
Model: ATA M4-CT128M4SSD2 (scsi)
Disk /dev/sda: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size   Type      File system  Flags
 1      1049kB  256MB  255MB  primary   ext2         boot
 2      257MB   128GB  128GB  extended
 5      257MB   128GB  128GB  logical

Error: /dev/sdb: unrecognised disk label                                  

Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/mint--vg-swap_1: 4198MB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system     Flags
 1      0.00B  4198MB  4198MB  linux-swap(v1)

Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/mint--vg-root: 124GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End    Size   File system  Flags
 1      0.00B  124GB  124GB  ext4

Error: /dev/mapper/sda5_crypt: unrecognised disk label
I can't create a new partition table at all. I've tred to do this with the idea of using photrec/testdisk after.

I've also considered sudo dd if=/dev/zero of=/dev/sdb to wipe it and try again but daren't.

Thanks for any help folks.

Post Reply

Return to “Mounting Partitions”