Stuck in Testdisk UI Maze! - Trying To Recover USB Stick

How to use TestDisk to recover lost partition
Post Reply
Message
Author
SteveL
Posts: 1
Joined: 12 Oct 2012, 02:21

Stuck in Testdisk UI Maze! - Trying To Recover USB Stick

#1 Post by SteveL » 12 Oct 2012, 02:59

Hello,

I have a Sandisk Cruzer Titanium 512Mb flash drive that suddenly Windows can't read and wants to format.

Windows sees the partition and calls it "Healthy" and the size is correct but unformatted. Running CHKDSK indicates that the drive is formatted RAW.

I have run Testdisk and get to a point and start going around in circles hence the title of this post. Test disk shows the drive and the size appears to be correct. I select Intel/PC partition type and run "analyze" which produces:

"Partition sector doesn't have the endmark 0xAA55"

"Quick Search" or "Deeper Search" yields the following:

The following partition can't be recovered:
Partition Start End Size in sectors
> FAT16 >32M 0 0 33 63 42 42 1014751 [NO NAME]

At this point things go downhill with no partition shown and proceeds to "Deeper Search" and similar results. Based on this it would appear that the partition does, in fact, exist but is somehow damaged.

Is there a way out of this maze that leads to a repaired partition table and recovered files?

BTW, I already tried PhotoRec and it made a mess of things. Several thousand TXT files with no meaningful names.


Thanks,

Steve

Since it is late and the BB doesn't like to attach *.LOG files or *.TXT files I am attaching the log file below..... Sorry for the clutter.

=============================================================================================

Thu Oct 11 20:27:44 2012
Command line: TestDisk

TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 2000 SP4
Compiler: GCC 4.3, Cygwin 1007.7
Compilation date: 2011-11-15T08:36:54
ext2fs lib: 1.41.8, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20100226
filewin32_getfilesize(/dev/sda) GetFileSize err Incorrect function.

filewin32_setfilepointer(/dev/sda) SetFilePointer err Incorrect function.

Fix disk size using CHS
filewin32_getfilesize(/dev/sdb) GetFileSize err Incorrect function.

filewin32_setfilepointer(/dev/sdb) SetFilePointer err Incorrect function.

Fix disk size using CHS
filewin32_getfilesize(/dev/sdg) GetFileSize err Incorrect function.

filewin32_setfilepointer(/dev/sdg) SetFilePointer err Incorrect function.

Fix disk size using CHS
filewin32_getfilesize(\\.\PhysicalDrive0) GetFileSize err Incorrect function.

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

Fix disk size using CHS
filewin32_getfilesize(\\.\PhysicalDrive1) GetFileSize err Incorrect function.

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

Fix disk size using CHS
filewin32_getfilesize(\\.\PhysicalDrive2) GetFileSize err Incorrect function.

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

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

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

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

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

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

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

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

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

Fix disk size using CHS
filewin32_getfilesize(\\.\C:) GetFileSize err The parameter is incorrect.

filewin32_getfilesize(\\.\D:) GetFileSize err Incorrect function.

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

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

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

Warning: can't get size for \\.\E:
filewin32_getfilesize(\\.\F:) GetFileSize err The parameter is incorrect.

filewin32_getfilesize(\\.\G:) GetFileSize err The parameter is incorrect.

filewin32_getfilesize(\\.\H:) GetFileSize err The parameter is incorrect.

filewin32_getfilesize(\\.\I:) GetFileSize err The parameter is incorrect.

filewin32_getfilesize(\\.\J:) GetFileSize err The parameter is incorrect.

filewin32_getfilesize(\\.\K:) GetFileSize err Incorrect function.

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

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

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

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

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

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

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

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

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

Fix disk size using CHS
file_pread(4,1,buffer,234452609(14593/254/63)) lseek err Invalid argument
file_pread(5,1,buffer,234452609(14593/254/63)) lseek err Invalid argument
file_pread(6,1,buffer,1028159(63/254/63)) lseek err Invalid argument
Hard disk list
Disk /dev/sda - 120 GB / 111 GiB - CHS 14593 255 63, sector size=512 - WDC WD1200JD-00FYB0, S/N:4457572d414d4845333135373934 037 0 0 0 0, FW:02.05D02
Disk /dev/sdb - 120 GB / 111 GiB - CHS 14593 255 63, sector size=512 - WDC WD1200JD-00FYB0, S/N:4457572d414d4845333139373832 038 0 0 0 0, FW:02.05D02
Disk /dev/sdg - 518 MB / 494 MiB - CHS 63 255 63, sector size=512 - SanDisk Cruzer Titanium, FW:2000

Partition table type (auto): Intel
Disk /dev/sdg - 518 MB / 494 MiB - SanDisk Cruzer Titanium
Partition table type: Intel

Analyse Disk /dev/sdg - 518 MB / 494 MiB - CHS 63 255 63
Current partition structure:

Partition sector doesn't have the endmark 0xAA55
Ask the user for vista mode
Allow partial last cylinder : No
search_vista_part: 0

search_part()
Disk /dev/sdg - 518 MB / 494 MiB - CHS 63 255 63
FAT16 at 0/0/33
FAT1 : 1-248
FAT2 : 249-496
start_rootdir : 497
Data : 529-1014736
sectors : 1014751
cluster_size : 16
no_of_cluster : 63388 (2 - 63389)
fat_length 248 calculated 248
heads/cylinder 129 (FAT) != 255 (HD)
sect/track 32 (FAT) != 63 (HD)

FAT16 at 0/0/33
FAT16 >32M 0 0 33 63 42 42 1014751 [NO NAME]
FAT16, 519 MB / 495 MiB
This partition ends after the disk limits. (start=32, size=1014751, end=1014782, disk end=1012095)
file_pread(6,8,buffer,1014816(63/43/13)) lseek err Invalid argument
file_pread(6,1,buffer,1014816(63/43/13)) lseek err Invalid argument
file_pread(6,8,buffer,1014944(63/45/15)) lseek err Invalid argument
file_pread(6,8,buffer,1015072(63/47/17)) lseek err Invalid argument
file_pread(6,8,buffer,1015200(63/49/19)) lseek err Invalid argument
file_pread(6,8,buffer,1015328(63/51/21)) lseek err Invalid argument
file_pread(6,8,buffer,1015456(63/53/23)) lseek err Invalid argument
file_pread(6,8,buffer,1015584(63/55/25)) lseek err Invalid argument
file_pread(6,8,buffer,1015712(63/57/27)) lseek err Invalid argument
file_pread(6,8,buffer,1015840(63/59/29)) lseek err Invalid argument
file_pread(6,8,buffer,1015968(63/61/31)) lseek err Invalid argument
file_pread(6,8,buffer,1016096(63/63/33)) lseek err Invalid argument
file_pread(6,8,buffer,1016224(63/65/35)) lseek err Invalid argument
file_pread(6,8,buffer,1016352(63/67/37)) lseek err Invalid argument
file_pread(6,8,buffer,1016480(63/69/39)) lseek err Invalid argument
file_pread(6,8,buffer,1016608(63/71/41)) lseek err Invalid argument
file_pread(6,8,buffer,1016736(63/73/43)) lseek err Invalid argument
file_pread(6,8,buffer,1016864(63/75/45)) lseek err Invalid argument
file_pread(6,8,buffer,1016992(63/77/47)) lseek err Invalid argument
file_pread(6,8,buffer,1017120(63/79/49)) lseek err Invalid argument
file_pread(6,8,buffer,1017248(63/81/51)) lseek err Invalid argument
file_pread(6,8,buffer,1017376(63/83/53)) lseek err Invalid argument
file_pread(6,8,buffer,1017504(63/85/55)) lseek err Invalid argument
file_pread(6,8,buffer,1017632(63/87/57)) lseek err Invalid argument
file_pread(6,8,buffer,1017760(63/89/59)) lseek err Invalid argument
file_pread(6,8,buffer,1017888(63/91/61)) lseek err Invalid argument
file_pread(6,8,buffer,1018016(63/93/63)) lseek err Invalid argument
file_pread(6,8,buffer,1018144(63/96/2)) lseek err Invalid argument
file_pread(6,8,buffer,1018272(63/98/4)) lseek err Invalid argument
file_pread(6,8,buffer,1018400(63/100/6)) lseek err Invalid argument
file_pread(6,8,buffer,1018528(63/102/8)) lseek err Invalid argument
file_pread(6,8,buffer,1018656(63/104/10)) lseek err Invalid argument
file_pread(6,8,buffer,1018784(63/106/12)) lseek err Invalid argument
file_pread(6,8,buffer,1018912(63/108/14)) lseek err Invalid argument
file_pread(6,8,buffer,1019040(63/110/16)) lseek err Invalid argument
file_pread(6,8,buffer,1019168(63/112/18)) lseek err Invalid argument
file_pread(6,8,buffer,1019296(63/114/20)) lseek err Invalid argument
file_pread(6,8,buffer,1019424(63/116/22)) lseek err Invalid argument
file_pread(6,8,buffer,1019552(63/118/24)) lseek err Invalid argument
file_pread(6,8,buffer,1019680(63/120/26)) lseek err Invalid argument
file_pread(6,8,buffer,1019808(63/122/28)) lseek err Invalid argument
file_pread(6,8,buffer,1019936(63/124/30)) lseek err Invalid argument
file_pread(6,8,buffer,1020064(63/126/32)) lseek err Invalid argument
file_pread(6,8,buffer,1020192(63/128/34)) lseek err Invalid argument
file_pread(6,8,buffer,1020320(63/130/36)) lseek err Invalid argument
file_pread(6,8,buffer,1020448(63/132/38)) lseek err Invalid argument
file_pread(6,8,buffer,1020576(63/134/40)) lseek err Invalid argument
file_pread(6,8,buffer,1020704(63/136/42)) lseek err Invalid argument
file_pread(6,8,buffer,1020832(63/138/44)) lseek err Invalid argument
file_pread(6,8,buffer,1020960(63/140/46)) lseek err Invalid argument
file_pread(6,8,buffer,1021088(63/142/48)) lseek err Invalid argument
file_pread(6,8,buffer,1021216(63/144/50)) lseek err Invalid argument
file_pread(6,8,buffer,1021344(63/146/52)) lseek err Invalid argument
file_pread(6,8,buffer,1021472(63/148/54)) lseek err Invalid argument
file_pread(6,8,buffer,1021600(63/150/56)) lseek err Invalid argument
file_pread(6,8,buffer,1021728(63/152/58)) lseek err Invalid argument
file_pread(6,8,buffer,1021856(63/154/60)) lseek err Invalid argument
file_pread(6,8,buffer,1021984(63/156/62)) lseek err Invalid argument
file_pread(6,8,buffer,1022112(63/159/1)) lseek err Invalid argument
file_pread(6,8,buffer,1022240(63/161/3)) lseek err Invalid argument
file_pread(6,8,buffer,1022368(63/163/5)) lseek err Invalid argument
file_pread(6,8,buffer,1022496(63/165/7)) lseek err Invalid argument
file_pread(6,8,buffer,1022624(63/167/9)) lseek err Invalid argument
file_pread(6,8,buffer,1022752(63/169/11)) lseek err Invalid argument
file_pread(6,8,buffer,1022880(63/171/13)) lseek err Invalid argument
file_pread(6,8,buffer,1023008(63/173/15)) lseek err Invalid argument
file_pread(6,8,buffer,1023136(63/175/17)) lseek err Invalid argument
Disk /dev/sdg - 518 MB / 494 MiB - CHS 63 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (518 MB / 494 MiB) seems too small! (< 519 MB / 495 MiB)
The following partition can't be recovered:
FAT16 >32M 0 0 33 63 42 42 1014751 [NO NAME]
FAT16, 519 MB / 495 MiB

Results

interface_write()

No partition found or selected for recovery

search_part()
Disk /dev/sdg - 518 MB / 494 MiB - CHS 63 255 63
FAT16 at 0/0/33
FAT1 : 1-248
FAT2 : 249-496
start_rootdir : 497
Data : 529-1014736
sectors : 1014751
cluster_size : 16
no_of_cluster : 63388 (2 - 63389)
fat_length 248 calculated 248
heads/cylinder 129 (FAT) != 255 (HD)
sect/track 32 (FAT) != 63 (HD)

FAT16 at 0/0/33
FAT16 >32M 0 0 33 63 42 42 1014751 [NO NAME]
FAT16, 519 MB / 495 MiB
This partition ends after the disk limits. (start=32, size=1014751, end=1014782, disk end=1012095)
file_pread(6,8,buffer,1014816(63/43/13)) lseek err Invalid argument
file_pread(6,1,buffer,1014816(63/43/13)) lseek err Invalid argument
file_pread(6,8,buffer,1014944(63/45/15)) lseek err Invalid argument
file_pread(6,8,buffer,1015072(63/47/17)) lseek err Invalid argument
file_pread(6,8,buffer,1015200(63/49/19)) lseek err Invalid argument
file_pread(6,8,buffer,1015328(63/51/21)) lseek err Invalid argument
file_pread(6,8,buffer,1015456(63/53/23)) lseek err Invalid argument
file_pread(6,8,buffer,1015584(63/55/25)) lseek err Invalid argument
file_pread(6,8,buffer,1015712(63/57/27)) lseek err Invalid argument
file_pread(6,8,buffer,1015840(63/59/29)) lseek err Invalid argument
file_pread(6,2,buffer,1015923(63/60/49)) lseek err Invalid argument
file_pread(6,8,buffer,1015968(63/61/31)) lseek err Invalid argument
file_pread(6,2,buffer,1015986(63/61/49)) lseek err Invalid argument
file_pread(6,2,buffer,1016049(63/62/49)) lseek err Invalid argument
file_pread(6,8,buffer,1016096(63/63/33)) lseek err Invalid argument
file_pread(6,8,buffer,1016224(63/65/35)) lseek err Invalid argument
file_pread(6,8,buffer,1016352(63/67/37)) lseek err Invalid argument
file_pread(6,8,buffer,1016480(63/69/39)) lseek err Invalid argument
file_pread(6,8,buffer,1016608(63/71/41)) lseek err Invalid argument
file_pread(6,8,buffer,1016736(63/73/43)) lseek err Invalid argument
file_pread(6,8,buffer,1016864(63/75/45)) lseek err Invalid argument
file_pread(6,8,buffer,1016992(63/77/47)) lseek err Invalid argument
file_pread(6,8,buffer,1017120(63/79/49)) lseek err Invalid argument
file_pread(6,8,buffer,1017248(63/81/51)) lseek err Invalid argument
file_pread(6,8,buffer,1017376(63/83/53)) lseek err Invalid argument
file_pread(6,8,buffer,1017504(63/85/55)) lseek err Invalid argument
file_pread(6,8,buffer,1017632(63/87/57)) lseek err Invalid argument
file_pread(6,8,buffer,1017760(63/89/59)) lseek err Invalid argument
file_pread(6,8,buffer,1017888(63/91/61)) lseek err Invalid argument
file_pread(6,8,buffer,1018016(63/93/63)) lseek err Invalid argument
file_pread(6,8,buffer,1018144(63/96/2)) lseek err Invalid argument
file_pread(6,8,buffer,1018272(63/98/4)) lseek err Invalid argument
file_pread(6,8,buffer,1018400(63/100/6)) lseek err Invalid argument
file_pread(6,8,buffer,1018528(63/102/8)) lseek err Invalid argument
file_pread(6,8,buffer,1018656(63/104/10)) lseek err Invalid argument
file_pread(6,8,buffer,1018784(63/106/12)) lseek err Invalid argument
file_pread(6,8,buffer,1018912(63/108/14)) lseek err Invalid argument
file_pread(6,8,buffer,1019040(63/110/16)) lseek err Invalid argument
file_pread(6,8,buffer,1019168(63/112/18)) lseek err Invalid argument
file_pread(6,8,buffer,1019296(63/114/20)) lseek err Invalid argument
file_pread(6,8,buffer,1019424(63/116/22)) lseek err Invalid argument
file_pread(6,8,buffer,1019552(63/118/24)) lseek err Invalid argument
file_pread(6,8,buffer,1019680(63/120/26)) lseek err Invalid argument
file_pread(6,8,buffer,1019808(63/122/28)) lseek err Invalid argument
file_pread(6,8,buffer,1019936(63/124/30)) lseek err Invalid argument
file_pread(6,8,buffer,1020064(63/126/32)) lseek err Invalid argument
file_pread(6,8,buffer,1020192(63/128/34)) lseek err Invalid argument
file_pread(6,8,buffer,1020320(63/130/36)) lseek err Invalid argument
file_pread(6,8,buffer,1020448(63/132/38)) lseek err Invalid argument
file_pread(6,8,buffer,1020576(63/134/40)) lseek err Invalid argument
file_pread(6,8,buffer,1020704(63/136/42)) lseek err Invalid argument
file_pread(6,8,buffer,1020832(63/138/44)) lseek err Invalid argument
file_pread(6,8,buffer,1020960(63/140/46)) lseek err Invalid argument
file_pread(6,8,buffer,1021088(63/142/48)) lseek err Invalid argument
file_pread(6,8,buffer,1021216(63/144/50)) lseek err Invalid argument
file_pread(6,8,buffer,1021344(63/146/52)) lseek err Invalid argument
file_pread(6,8,buffer,1021472(63/148/54)) lseek err Invalid argument
file_pread(6,8,buffer,1021600(63/150/56)) lseek err Invalid argument
file_pread(6,8,buffer,1021728(63/152/58)) lseek err Invalid argument
file_pread(6,8,buffer,1021856(63/154/60)) lseek err Invalid argument
file_pread(6,8,buffer,1021984(63/156/62)) lseek err Invalid argument
file_pread(6,8,buffer,1022112(63/159/1)) lseek err Invalid argument
file_pread(6,8,buffer,1022240(63/161/3)) lseek err Invalid argument
file_pread(6,8,buffer,1022368(63/163/5)) lseek err Invalid argument
file_pread(6,8,buffer,1022496(63/165/7)) lseek err Invalid argument
file_pread(6,8,buffer,1022624(63/167/9)) lseek err Invalid argument
file_pread(6,8,buffer,1022752(63/169/11)) lseek err Invalid argument
file_pread(6,8,buffer,1022880(63/171/13)) lseek err Invalid argument
file_pread(6,8,buffer,1023008(63/173/15)) lseek err Invalid argument
file_pread(6,8,buffer,1023136(63/175/17)) lseek err Invalid argument
file_pread(6,2,buffer,1027407(63/243/4)) lseek err Invalid argument
file_pread(6,2,buffer,1027470(63/244/4)) lseek err Invalid argument
file_pread(6,2,buffer,1027533(63/245/4)) lseek err Invalid argument
file_pread(6,1,buffer,1028159(63/254/63)) lseek err Invalid argument
file_pread(6,1,buffer,1028160(64/0/1)) lseek err Invalid argument
Disk /dev/sdg - 518 MB / 494 MiB - CHS 63 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (518 MB / 494 MiB) seems too small! (< 519 MB / 495 MiB)
The following partition can't be recovered:
FAT16 >32M 0 0 33 63 42 42 1014751 [NO NAME]
FAT16, 519 MB / 495 MiB

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

TestDisk exited normally.

Sponsored links

Lito
Posts: 83
Joined: 08 Sep 2012, 06:58

Re: Stuck in Testdisk UI Maze! - Trying To Recover USB Stick

#2 Post by Lito » 13 Oct 2012, 01:10

There is a lot information about that message in this forum.
Try doing a search for 0xAA55

You could also try IsoBuster:

http://www.isobuster.com/

Best of luck

User avatar
cgrenier
Site Admin
Posts: 3813
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Stuck in Testdisk UI Maze! - Trying To Recover USB Stick

#3 Post by cgrenier » 13 Oct 2012, 17:39

Run TestDisk, after selecting the disk,
- in Geometry, set 64 cylinders.
- Analyse, Quick Search, Write, confirm, Quit
Try again to access your data.

Post Reply

Who is online

Users browsing this forum: Google Adsense [Bot] and 7 guests