no partition on SDmicro

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
totallybree
Posts: 5
Joined: 09 Oct 2014, 13:20

no partition on SDmicro

#1 Post by totallybree »

Hi there!

I have a 64 gig SDmicro card that lives in my phone. I had it plugged in to my PC with an adapter, and I think the adapter was faulty. It was working fine, but then the connection flickered, and then my card read as blank. It wasn't recognized by my PC or by my phone either - I get a message asking if I want to format. I tried other recovery programs but none of them worked.

I have been trying to use testdisk, but I'm having a hard time understanding the instructions, because my results don't match the samples I've seen, and I've read through the forums, but I haven't found any answers there.

I can get thru the beginning part, but when I do quickscan, it says no partition found or selected. When I do deeper scan, same result - no partition found. It says A to add partition, L to load backup, Enter to continue, if I hit enter, it says again, no partition found. I don't know how to proceed from here. Can someone please help? I'll paste
my log here. Thanks so much!

-- Bree


Thu Oct 9 08:57:08 2014
Command line: TestDisk

TestDisk 7.0-WIP, Data Recovery Utility, October 2014
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 4.7, Cygwin 1007.25
Compilation date: 2014-10-05T21:22:25
ext2fs lib: 1.42.8, 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)=320072933376
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=63864569856
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=320072933376
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=63864569856
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=271542386688
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=27346862080
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=63863521280
filewin32_getfilesize(\\.\F:) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\F:) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\F:
Hard disk list
Disk /dev/sda - 320 GB / 298 GiB - CHS 38913 255 63, sector size=512 - ST320LT020-9YG142, S/N:202020202020202020202020305736344e463632, FW:0003LVM1
Disk /dev/sdb - 63 GB / 59 GiB - CHS 7764 255 63, sector size=512 - Generic- xD/SD/M.S., FW:1.00

Partition table type (auto): Intel
Disk /dev/sdb - 63 GB / 59 GiB - Generic- xD/SD/M.S.
Partition table type: Intel

Analyse Disk /dev/sdb - 63 GB / 59 GiB - CHS 7764 255 63
Geometry from i386 MBR: head=255 sector=63


test_FAT()
1 * FAT32 LBA 0 32 33 7764 108 24 124733440
sector_size 0
cluster_size 0
reserved 10762
fats 0
dir_entries 0
sectors 8
media 00
fat_length 256
secs_track 0
heads 0
hidden 1409286144
total_sect 124733440
check_part_i386 failed for partition type 0C
Current partition structure:
Invalid FAT boot sector
1 * FAT32 LBA 0 32 33 7764 108 24 124733440
1 * FAT32 LBA 0 32 33 7764 108 24 124733440

search_part()
Disk /dev/sdb - 63 GB / 59 GiB - CHS 7764 255 63
file_pread(5,2,buffer,124735488(7764/108/25)) ReadFile The drive cannot find the sector requested.

file_pread(5,1,buffer,124735488(7764/108/25)) ReadFile The drive cannot find the sector requested.

file_pread(5,14,buffer,124735489(7764/108/26)) lseek err Invalid argument
file_pread(5,1,buffer,124735489(7764/108/26)) lseek err Invalid argument
file_pread(5,8,buffer,124735495(7764/108/32)) lseek err Invalid argument
file_pread(5,3,buffer,124735503(7764/108/40)) lseek err Invalid argument
file_pread(5,3,buffer,124735550(7764/109/24)) lseek err Invalid argument
file_pread(5,8,buffer,124735566(7764/109/40)) lseek err Invalid argument
file_pread(5,11,buffer,124735613(7764/110/24)) lseek err Invalid argument
file_pread(5,2,buffer,124737535(7764/140/56)) lseek err Invalid argument
file_pread(5,14,buffer,124735490(7764/108/27)) lseek err Invalid argument
file_pread(5,1,buffer,124735506(7764/108/43)) lseek err Invalid argument
file_pread(5,1,buffer,124735553(7764/109/27)) lseek err Invalid argument
file_pread(5,1,buffer,124735574(7764/109/48)) lseek err Invalid argument
file_pread(5,1,buffer,124735624(7764/110/35)) lseek err Invalid argument
file_pread(5,1,buffer,124737537(7764/140/58)) lseek err Invalid argument

Results

interface_write()

No partition found or selected for recovery

search_part()
Disk /dev/sdb - 63 GB / 59 GiB - CHS 7764 255 63
file_pread(5,2,buffer,124735488(7764/108/25)) ReadFile The drive cannot find the sector requested.

file_pread(5,1,buffer,124735488(7764/108/25)) ReadFile The drive cannot find the sector requested.

file_pread(5,14,buffer,124735489(7764/108/26)) lseek err Invalid argument
file_pread(5,1,buffer,124735489(7764/108/26)) lseek err Invalid argument
file_pread(5,8,buffer,124735495(7764/108/32)) lseek err Invalid argument
file_pread(5,3,buffer,124735503(7764/108/40)) lseek err Invalid argument
file_pread(5,3,buffer,124735550(7764/109/24)) lseek err Invalid argument
file_pread(5,8,buffer,124735566(7764/109/40)) lseek err Invalid argument
file_pread(5,11,buffer,124735613(7764/110/24)) lseek err Invalid argument
file_pread(5,2,buffer,124737535(7764/140/56)) lseek err Invalid argument
file_pread(5,14,buffer,124735490(7764/108/27)) lseek err Invalid argument
file_pread(5,1,buffer,124735506(7764/108/43)) lseek err Invalid argument
file_pread(5,1,buffer,124735553(7764/109/27)) lseek err Invalid argument
file_pread(5,1,buffer,124735574(7764/109/48)) lseek err Invalid argument
file_pread(5,1,buffer,124735624(7764/110/35)) lseek err Invalid argument
file_pread(5,1,buffer,124737537(7764/140/58)) lseek err Invalid argument

Results

interface_write()

No partition found or selected for recovery
simulate write!

write_mbr_i386: starting...
file_pread(5,1,buffer,0(0/0/1)) ReadFile The specified network resource or device is no longer available.


Partition: Read error
Store new MBR code
write_all_log_i386: starting...
No extended partition

TestDisk exited normally.

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

Re: no partition on SDmicro

#2 Post by Fiona »

Current partition structure:
Invalid FAT boot sector
1 * FAT32 LBA 0 32 33 7764 108 24 124733440
1 * FAT32 LBA 0 32 33 7764 108 24 124733440
Looks like that you already have a partition in your partition table, but probably appears as RAW?
Looks like a boot sector problem?
If your partition is correct?
Can you run testdisk / Advanced / Boot.
Please upload a screen shot.
I'll check your boot sector and its backup.
Use the menu List to have a try to list your files.
If they're bad you can run Rebuild BS.
If it's successful have another try to list your files using the menu List.
If your partition is not correct you can run testdisk and Deeper Search.
Please let me know, If more partitions are found?

totallybree
Posts: 5
Joined: 09 Oct 2014, 13:20

Re: no partition on SDmicro

#3 Post by totallybree »

Fiona,

Thanks so much for your response!

Here's the screenshot after doing Boot:
screen-boot.png
screen-boot.png (36.34 KiB) Viewed 4154 times
Here's a screenshot after doing RebuildBS:
screen-rebuild bs.png
screen-rebuild bs.png (34.16 KiB) Viewed 4154 times
I was able to use the List command to access and copy some files, but there were several folders (and one specifically that I really want to retrieve) that said "no file found, file system may be damaged", so I'm not sure - will those ever be recoverable?

I tried doing Deeper Search, and at the end of that it said the same as before - "no partition found or selected for recovery".

Thanks for your continued help! Sorry this is being difficult.

-- Bree

totallybree
Posts: 5
Joined: 09 Oct 2014, 13:20

Re: no partition on SDmicro

#4 Post by totallybree »

bump

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

Re: no partition on SDmicro

#5 Post by Fiona »

If the boot sector is bad and the backup of the boot sector too, testdisk will not find any partition for recovery.
I've already seen that both are bad.
In this case you'll need datarecovery software.
PhotoRec could help.
http://www.cgsecurity.org/wiki/PhotoRec
http://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step
But it doesn't recover original file names and directories.
Please let me know, what kind of file types do you want to recover?
You can use PhotoRec and FileOpt and press s to deselect all file types and only mark those file types where you'd like to recover.
Please scan the whole space.

totallybree
Posts: 5
Joined: 09 Oct 2014, 13:20

Re: no partition on SDmicro

#6 Post by totallybree »

Fiona,

Thanks so much! I was able to recover almost everything, so I'm really happy!

If I reformat this card, will it be usable? Or will it have a greater risk of failing again in the future?

Once again, much appreciation for your kind help!

-- Bree

Locked