SD Card Recovery Problem

How to use TestDisk to recover lost partition
Post Reply
Message
Author
supertrooper12
Posts: 4
Joined: 18 Jul 2014, 01:48

SD Card Recovery Problem

#1 Post by supertrooper12 » 18 Jul 2014, 01:57

Hello, I hope someone can help me with an odd scenario with my Sandisk 8GB Memory Card.

I have photos of my honeymoon on the card and having difficulty getting them back. The card became corrupted when my pc crashed - it was copying the files to the pc when the computer crashed and has never worked since. (crash was unconnected to the disk but did effect it).

The disk is genuine from Tesco.

Basically, it shows as inaccessible in My Computer.

In Testdisk when searching for drives it takes a minute or two then shows the Memory Card as having 899GB with 811GB of the disk used.

I tried both Intel and None partitions and it never finds anything or even moves through the sectors. When choosing none, I choose the type Fat32 as it would be. It says it cannot find the boot sector or the backup so tried to rebuild BS. When selecting this - it doesn't move or do anything when in rebuild process. An hour later and still wait and nothing happens.

Even though it has wrong size and lags in loading etc... I am assuming that the files are still on it due to the 899 GB size 811GB used ratio it displays.

Can anyone help me resolve this? I know you are more expert at this than me. And hope you can help, and look forward to hearing from you soon. Dee.

Sponsored links

User avatar
Fiona
Posts: 2836
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: SD Card Recovery Problem

#2 Post by Fiona » 18 Jul 2014, 07:39

Can you repeat your diagnose?
Can you open the testdisk.log within your testdisk folder and copy and paste the content into your next post?

Fiona

supertrooper12
Posts: 4
Joined: 18 Jul 2014, 01:48

Re: SD Card Recovery Problem

#3 Post by supertrooper12 » 18 Jul 2014, 18:33

Hi, no probs and thanks for replying.

While transferring my photos and videos from SD card to the pc... the computer crashed - the crash was caused by something unrelated to the memory card - happens often with my machine.

After this the card is inaccessible. So used Testdisk to get to the bottom of it and get the files. But it takes a minute or two to display all the connected drives - and when it does... it shows the SD Card as having 899 GB instead of 8GB.

Analyzing it - it doesn't do anything or says no partitions found. I used the None instead of Intel.

When trying to rebuild Boot Sector - it says that no BS can be found and no backup either. So start rebuild using fat32 - it just sits there not doing anything.

I have reran the analyze part again and copy and paste the log below for you.

The SD Card is 8gb Sandisk card.

Log:



Fri Jul 18 17:29:47 2014
Command line: TestDisk

TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7600)
Compiler: GCC 4.7, Cygwin 1007.17
Compilation date: 2013-07-30T14:08:52
ext2fs lib: 1.42.2, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=120034123776
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=122942324736
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=160041885696
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdd)=80026361856
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sde)=999501594624
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdf)=899956080640
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=120034123776
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=122942324736
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=160041885696
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=80026361856
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive4)=999501594624
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive5)=899956080640
filewin32_getfilesize(\\.\PhysicalDrive6) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\PhysicalDrive6) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\PhysicalDrive6
filewin32_getfilesize(\\.\PhysicalDrive7) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\PhysicalDrive7) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\PhysicalDrive7
filewin32_getfilesize(\\.\PhysicalDrive8) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\PhysicalDrive8) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\PhysicalDrive8
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=159934054400
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=80015491584
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=700448768
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=999500546048
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\K:)=0
Fix disk size using CHS
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\L:)=0
Warning: can't get size for \\.\L:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\M:)=0
Warning: can't get size for \\.\M:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\Q:)=122939244544
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\Z:)=120031543296
Hard disk list
Disk /dev/sda - 120 GB / 111 GiB - CHS 14593 255 63, sector size=512 - ST3120022A, S/N:4a3536534d384633202020202020202020202020, FW:8.54
Disk /dev/sdb - 122 GB / 114 GiB - CHS 14946 255 63, sector size=512 - Maxtor 6Y120L0, S/N:335934354d4a4556202020202020202020202020, FW:YAR41BW0
Disk /dev/sdc - 160 GB / 149 GiB - CHS 19457 255 63, sector size=512 - ST3160023AS, S/N:2020202020202020202020204d3431543159524d, FW:3.43
Disk /dev/sdd - 80 GB / 74 GiB - CHS 9729 255 63, sector size=512 - WDC WD800JD-60LSA0, S/N:2020202057202d444d574d415439393234323431, FW:07.01D07
Disk /dev/sde - 999 GB / 930 GiB - CHS 121515 255 63, sector size=512 - WD My Book 1110, S/N:WCAV53266889, FW:1030
Disk /dev/sdf - 899 GB / 838 GiB - CHS 109413 255 63, sector size=512 - Generic USB SD Reader, FW:1.00
Drive G: - 700 MB / 668 MiB - CHS 167 64 32, sector size=2048 - WD Virtual CD 1110, S/N:WCAV53266889, FW:1030

Partition table type default to Intel
Disk /dev/sdf - 899 GB / 838 GiB - Generic USB SD Reader
Partition table type: None

Analyse Disk /dev/sdf - 899 GB / 838 GiB - CHS 109413 255 63
file_pread(9,7,buffer,1757726593(109413/107/8)) ReadFile The device is not ready.

Current partition structure:
P Unknown 0 0 1 109413 109 8 1757726720

supertrooper12
Posts: 4
Joined: 18 Jul 2014, 01:48

Re: SD Card Recovery Problem

#4 Post by supertrooper12 » 18 Jul 2014, 18:55

Here is the log when running rebuild boot sector (to which it just stalls it appears, unless it takes longer than an hour to rebuild it?

Fri Jul 18 18:35:19 2014
Command line: TestDisk

TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7600)
Compiler: GCC 4.7, Cygwin 1007.17
Compilation date: 2013-07-30T14:08:52
ext2fs lib: 1.42.2, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=120034123776
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=122942324736
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=160041885696
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdd)=80026361856
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sde)=999501594624
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdf)=899956080640
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=120034123776
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=122942324736
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=160041885696
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=80026361856
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive4)=999501594624
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive5)=899956080640
filewin32_getfilesize(\\.\PhysicalDrive6) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\PhysicalDrive6) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\PhysicalDrive6
filewin32_getfilesize(\\.\PhysicalDrive7) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\PhysicalDrive7) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\PhysicalDrive7
filewin32_getfilesize(\\.\PhysicalDrive8) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\PhysicalDrive8) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\PhysicalDrive8
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=159934054400
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=0
Warning: can't get size for \\.\D:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=80015491584
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=700448768
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=999500546048
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\K:)=0
Fix disk size using CHS
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\L:)=0
Warning: can't get size for \\.\L:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\M:)=0
Warning: can't get size for \\.\M:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\Q:)=122939244544
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\Z:)=120031543296
Hard disk list
Disk /dev/sda - 120 GB / 111 GiB - CHS 14593 255 63, sector size=512 - ST3120022A, S/N:4a3536534d384633202020202020202020202020, FW:8.54
Disk /dev/sdb - 122 GB / 114 GiB - CHS 14946 255 63, sector size=512 - Maxtor 6Y120L0, S/N:335934354d4a4556202020202020202020202020, FW:YAR41BW0
Disk /dev/sdc - 160 GB / 149 GiB - CHS 19457 255 63, sector size=512 - ST3160023AS, S/N:2020202020202020202020204d3431543159524d, FW:3.43
Disk /dev/sdd - 80 GB / 74 GiB - CHS 9729 255 63, sector size=512 - WDC WD800JD-60LSA0, S/N:2020202057202d444d574d415439393234323431, FW:07.01D07
Disk /dev/sde - 999 GB / 930 GiB - CHS 121515 255 63, sector size=512 - WD My Book 1110, S/N:WCAV53266889, FW:1030
Disk /dev/sdf - 899 GB / 838 GiB - CHS 109413 255 63, sector size=512 - Generic USB SD Reader, FW:1.00
Drive G: - 700 MB / 668 MiB - CHS 167 64 32, sector size=2048 - WD Virtual CD 1110, S/N:WCAV53266889, FW:1030

Partition table type default to Intel
Disk /dev/sdf - 899 GB / 838 GiB - Generic USB SD Reader
Partition table type: None

Interface Advanced
file_pread(9,7,buffer,1757726593(109413/107/8)) ReadFile The device is not ready.

P Unknown 0 0 1 109413 109 8 1757726720
Change partition type:
P FAT32 0 0 1 109413 109 8 1757726720

fat32_boot_sector
P FAT32 0 0 1 109413 109 8 1757726720
Boot sector
fat32_boot_sector: Can't read boot sector.
Bad

Backup boot sector
fat32_boot_sector: Can't read backup boot sector.
Bad

Sectors are identical.

A valid FAT Boot sector must be present in order to access
any data; even if the partition is not bootable.

supertrooper12
Posts: 4
Joined: 18 Jul 2014, 01:48

Re: SD Card Recovery Problem

#5 Post by supertrooper12 » 20 Jul 2014, 16:08

Hello, did you see the log? I ran the image creation again - after finding out the SDHC cards original cylinder size - it completed it but the document creation was 0kb and message at end says image created with errors.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests