USB flash driver partation recovery help

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
MrModbus
Posts: 2
Joined: 04 Feb 2015, 14:58

USB flash driver partation recovery help

#1 Post by MrModbus »

I have a corrupted USB flash drive. Windows told me that it was safe to remove, and it seems to have lied and now windows insists that it is not formatted and wants to format it.
Windows partition manager says that there is a healthy primary partition of RAW format and 100% free space.
Running testdisk does not see any partitions even with a deep scan.
Photorec seems to be happy and recovers the files.
So is the drive capable of being restored to its former glory?

Logfile

Wed Feb 4 11:02:45 2015
Command line: TestDisk

TestDisk 7.0-WIP, Data Recovery Utility, January 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 4.7, Cygwin 1007.25
Compilation date: 2015-01-19T21:26:37
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)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=4005560320
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=4005560320
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=499568869376
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=4184866816
filewin32_getfilesize(\\.\E:) GetFileSize err Incorrect function.


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


Warning: can't get size for \\.\E:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=4005560320
Hard disk list
Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - WDC WD50 00AAKX-07U6A, S/N:W -DCW2CDE7E5655, FW:17.0
Disk /dev/sdb - 4005 MB / 3820 MiB - CHS 486 255 63, sector size=512 - USB DISK 2.0, FW:PMAP
Drive D: - 4184 MB / 3991 MiB - CHS 997 64 32, sector size=2048 - Optiarc DVD RW AD-7200S, FW:1.83

Partition table type default to Intel
Disk /dev/sdb - 4005 MB / 3820 MiB - USB DISK 2.0
Partition table type: Intel

Analyse Disk /dev/sdb - 4005 MB / 3820 MiB - CHS 486 255 63
Current partition structure:

Partition sector doesn't have the endmark 0xAA55

search_part()
Disk /dev/sdb - 4005 MB / 3820 MiB - CHS 486 255 63
file_pread(5,2,buffer,7823360(486/250/21)) ReadFile The drive cannot find the sector requested.


file_pread(5,1,buffer,7823360(486/250/21)) ReadFile The drive cannot find the sector requested.


file_pread(5,14,buffer,7823361(486/250/22)) lseek err Invalid argument
file_pread(5,1,buffer,7823361(486/250/22)) lseek err Invalid argument
file_pread(5,8,buffer,7823367(486/250/28)) lseek err Invalid argument
file_pread(5,3,buffer,7823375(486/250/36)) lseek err Invalid argument
file_pread(5,3,buffer,7823422(486/251/20)) lseek err Invalid argument
file_pread(5,8,buffer,7823438(486/251/36)) lseek err Invalid argument
file_pread(5,11,buffer,7823485(486/252/20)) lseek err Invalid argument
file_pread(5,2,buffer,7825407(487/27/52)) lseek err Invalid argument
file_pread(5,14,buffer,7823362(486/250/23)) lseek err Invalid argument
file_pread(5,1,buffer,7823378(486/250/39)) lseek err Invalid argument
file_pread(5,1,buffer,7823425(486/251/23)) lseek err Invalid argument
file_pread(5,1,buffer,7823446(486/251/44)) lseek err Invalid argument
file_pread(5,1,buffer,7823496(486/252/31)) lseek err Invalid argument
file_pread(5,1,buffer,7825409(487/27/54)) lseek err Invalid argument

Results

interface_write()

No partition found or selected for recovery

search_part()
Disk /dev/sdb - 4005 MB / 3820 MiB - CHS 486 255 63
file_pread(5,2,buffer,7823360(486/250/21)) ReadFile The drive cannot find the sector requested.


file_pread(5,1,buffer,7823360(486/250/21)) ReadFile The drive cannot find the sector requested.


file_pread(5,14,buffer,7823361(486/250/22)) lseek err Invalid argument
file_pread(5,1,buffer,7823361(486/250/22)) lseek err Invalid argument
file_pread(5,8,buffer,7823367(486/250/28)) lseek err Invalid argument
file_pread(5,3,buffer,7823375(486/250/36)) lseek err Invalid argument
file_pread(5,3,buffer,7823422(486/251/20)) lseek err Invalid argument
file_pread(5,8,buffer,7823438(486/251/36)) lseek err Invalid argument
file_pread(5,11,buffer,7823485(486/252/20)) lseek err Invalid argument
file_pread(5,2,buffer,7825407(487/27/52)) lseek err Invalid argument
file_pread(5,14,buffer,7823362(486/250/23)) lseek err Invalid argument
file_pread(5,1,buffer,7823378(486/250/39)) lseek err Invalid argument
file_pread(5,1,buffer,7823425(486/251/23)) lseek err Invalid argument
file_pread(5,1,buffer,7823446(486/251/44)) lseek err Invalid argument
file_pread(5,1,buffer,7823496(486/252/31)) lseek err Invalid argument
file_pread(5,1,buffer,7825409(487/27/54)) lseek err Invalid argument

Results

interface_write()

No partition found or selected for recovery
simulate write!

write_mbr_i386: starting...
Store new MBR code
write_all_log_i386: starting...
No extended partition

Interface Advanced

Interface Advanced

Analyse Disk /dev/sdb - 4005 MB / 3820 MiB - CHS 486 255 63
Current partition structure:

Partition sector doesn't have the endmark 0xAA55

MrModbus
Posts: 2
Joined: 04 Feb 2015, 14:58

Re: USB flash driver partation recovery help

#2 Post by MrModbus »

So no one has any ideas then?

Locked