Here's the log.
Wed Mar 14 21:14:38 2012
Command line: TestDisk
TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <[removed]>
http://www.cgsecurity.org
OS: Windows XP SP3
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
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=160000000000
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=160000000000
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=154947824640
filewin32_getfilesize(\\.\D:) GetFileSize err Incorrect function.
filewin32_setfilepointer(\\.\D:) SetFilePointer err Incorrect function.
Warning: can't get size for \\.\D:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=2048
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=4984519680
file_pread(4,1,buffer,312512444(19452/254/63)) lseek err Invalid argument
Hard disk list
Disk /dev/sda - 160 GB / 149 GiB - CHS 19452 255 63, sector size=512 - Maxtor 6L160M0, S/N:334c46443157483620202020334c464431574836, FW:BACE1G10
Drive E: - 2048 B - CHS 1 64 32, sector size=2048 - PHILIPS DVD+-RW DVD8801, FW:4D28
Partition table type (auto): Intel
Disk /dev/sda - 160 GB / 149 GiB - Maxtor 6L160M0
Partition table type: Intel
file_pread(4,1,buffer,312512444(19452/254/63)) lseek err Invalid argument
Analyse Disk /dev/sda - 160 GB / 149 GiB - CHS 19452 255 63
Geometry from i386 MBR: head=255 sector=63
check_part_i386 1 type DE: no test
NTFS at 7/0/1
FAT32 at 18846/0/1
Info: size boot_sector 9735390, partition 9735390
FAT1 : 32-9526
FAT2 : 9527-19021
start_rootdir : 19022 root cluster : 2
Data : 19022-9735389
sectors : 9735390
cluster_size : 8
no_of_cluster : 1214546 (2 - 1214547)
fat_length 9495 calculated 9489
set_FAT_info: name from BS used
get_geometry_from_list_part_aux head=255 nbr=6
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=6
Current partition structure:
1 P Dell Utility 0 1 1 6 254 63 112392
2 * HPFS - NTFS 7 0 1 18844 254 63 302632470 [Local Disk]
3 P FAT32 LBA 18846 0 1 19451 254 63 9735390 [DellRestore]
Ask the user for vista mode
Allow partial last cylinder : No
search_vista_part: 0
search_part()
Disk /dev/sda - 160 GB / 149 GiB - CHS 19452 255 63
FAT16 at 0/1/1
FAT1 : 1-110
FAT2 : 111-220
start_rootdir : 221
Data : 253-112388
sectors : 112392
cluster_size : 4
no_of_cluster : 28034 (2 - 28035)
fat_length 110 calculated 110
FAT16 at 0/1/1
FAT16 >32M 0 1 1 6 254 63 112392 [DellUtility]
FAT16, 57 MB / 54 MiB
NTFS at 7/0/1
filesystem size 302632470
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 16
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 7 0 1 18844 254 63 302632470 [Local Disk]
NTFS, 154 GB / 144 GiB
FAT32 at 18846/0/1
FAT1 : 32-9526
FAT2 : 9527-19021
start_rootdir : 19022 root cluster : 2
Data : 19022-9735389
sectors : 9735390
cluster_size : 8
no_of_cluster : 1214546 (2 - 1214547)
fat_length 9495 calculated 9489
set_FAT_info: name from BS used
FAT32 at 18846/0/1
FAT32 LBA 18846 0 1 19451 254 63 9735390 [DellRestore]
FAT32, 4984 MB / 4753 MiB
NTFS at 19452/0/1
filesystem size 3604
sectors_per_cluster 8
mft_lcn 225
mftmirr_lcn 726
clusters_per_mft_record -10
clusters_per_index_record 1
NTFS: Can't read MFT
HPFS - NTFS 19452 0 1 19452 57 13 3604
NTFS, 1845 KB / 1802 KiB
file_pread(4,2,buffer,312500001(19452/57/31)) lseek err Invalid argument
file_pread(4,1,buffer,312500001(19452/57/31)) lseek err Invalid argument
file_pread(4,3,buffer,312500047(19452/58/14)) lseek err Invalid argument
file_pread(4,8,buffer,312500063(19452/58/30)) lseek err Invalid argument
file_pread(4,11,buffer,312500110(19452/59/14)) lseek err Invalid argument
file_pread(4,2,buffer,312502032(19452/89/46)) lseek err Invalid argument
file_pread(4,4,buffer,312500002(19452/57/32)) lseek err Invalid argument
file_pread(4,8,buffer,312500034(19452/58/1)) lseek err Invalid argument
file_pread(4,8,buffer,312500042(19452/58/9)) lseek err Invalid argument
file_pread(4,3,buffer,312500050(19452/58/17)) lseek err Invalid argument
file_pread(4,3,buffer,312500097(19452/59/1)) lseek err Invalid argument
file_pread(4,11,buffer,312500160(19452/60/1)) lseek err Invalid argument
file_pread(4,2,buffer,312502082(19452/90/33)) lseek err Invalid argument
get_geometry_from_list_part_aux head=255 nbr=7
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=7
Results
* FAT16 >32M 0 1 1 6 254 63 112392 [DellUtility]
FAT16, 57 MB / 54 MiB
P HPFS - NTFS 7 0 1 18844 254 63 302632470 [Local Disk]
NTFS, 154 GB / 144 GiB
P FAT32 LBA 18846 0 1 19451 254 63 9735390 [DellRestore]
FAT32, 4984 MB / 4753 MiB
P HPFS - NTFS 19452 0 1 19452 254 63 16065
NTFS, 8225 KB / 8032 KiB
Change partition type:
P Dell Utility 0 1 1 6 254 63 112392 [DellUtility]
FAT16, 57 MB / 54 MiB
Change partition type:
P CP/M 18846 0 1 19451 254 63 9735390 [DellRestore]
FAT32, 4984 MB / 4753 MiB
interface_write()
1 P Dell Utility 0 1 1 6 254 63 112392 [DellUtility]
2 * HPFS - NTFS 7 0 1 18844 254 63 302632470 [Local Disk]
3 P CP/M 18846 0 1 19451 254 63 9735390 [DellRestore]
write!
write_mbr_i386: starting…
write_all_log_i386: starting…
No extended partition
You will have to reboot for the change to take effect.
TestDisk exited normally.