Hdd error - testdisk.log - 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
stacieys
Posts: 1
Joined: 16 Nov 2016, 23:48

Hdd error - testdisk.log - HELP

#1 Post by stacieys »

Wed Nov 16 16:21:13 2016
Command line: TestDisk

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 4.8, Cygwin 1007.34
Compilation date: 2015-04-18T13:01:55
ext2fs lib: 1.42.8, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504, curses lib: ncurses 5.9
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=750156374016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=999732936704
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=750156374016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=999732936704
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=729074753536
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:)=419430400
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=999725174784
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\Z:)=106896384
Hard disk list
Disk /dev/sda - 750 GB / 698 GiB - CHS 91201 255 63, sector size=512
Disk /dev/sdb - 999 GB / 931 GiB - CHS 121543 255 63, sector size=512
Drive C: - 729 GB / 679 GiB - CHS 88638 255 63, sector size=512
Drive E: - 419 MB / 400 MiB - CHS 100 64 32, sector size=2048
Drive G: - 999 GB / 931 GiB - CHS 121542 255 63, sector size=512
Drive Z: - 106 MB / 101 MiB - CHS 12 255 63, sector size=512

Partition table type (auto): Intel
Disk /dev/sdb - 999 GB / 931 GiB
Partition table type: Intel

Analyse Disk /dev/sdb - 999 GB / 931 GiB - CHS 121543 255 63
Geometry from i386 MBR: head=255 sector=63
FAT32 at 0/1/1
Info: size boot_sector 1952588232, partition 1952588232
FAT1 : 32-119193
FAT2 : 119194-238355
start_rootdir : 238356 root cluster : 2
Data : 238356-1952588179
sectors : 1952588232
cluster_size : 128
no_of_cluster : 15252733 (2 - 15252734)
fat_length 119162 calculated 119162
file_pread(5,128,buffer,238419(14/214/28)) ReadFile Data error (cyclic redundancy check).

file_pread(5,1,buffer,238419(14/214/28)) ReadFile Data error (cyclic redundancy check).

fat32_set_part_name() cannot read FAT32 root cluster.
set_FAT_info: name from BS used
get_geometry_from_list_part_aux head=255 nbr=2
get_geometry_from_list_part_aux head=8 nbr=1
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=2
Current partition structure:
1 P FAT32 LBA 0 1 1 121542 254 63 1952588232 [NO NAME]
No partition is bootable

search_part()
Disk /dev/sdb - 999 GB / 931 GiB - CHS 121543 255 63
FAT32 at 0/1/1
FAT1 : 32-119193
FAT2 : 119194-238355
start_rootdir : 238356 root cluster : 2
Data : 238356-1952588179
sectors : 1952588232
cluster_size : 128
no_of_cluster : 15252733 (2 - 15252734)
fat_length 119162 calculated 119162
file_pread(5,128,buffer,238419(14/214/28)) ReadFile Data error (cyclic redundancy check).

file_pread(5,1,buffer,238419(14/214/28)) ReadFile Data error (cyclic redundancy check).

fat32_set_part_name() cannot read FAT32 root cluster.
set_FAT_info: name from BS used

FAT32 at 0/1/1
FAT32 LBA 0 1 1 121542 254 63 1952588232 [NO NAME]
FAT32, blocksize=65536, 999 GB / 931 GiB
file_pread(5,2,buffer,1952604160(121543/251/53)) lseek err Invalid argument
file_pread(5,1,buffer,1952604160(121543/251/53)) lseek err Invalid argument
file_pread(5,1,buffer,1952604159(121543/251/52)) lseek err Invalid argument
file_pread(5,14,buffer,1952604161(121543/251/54)) lseek err Invalid argument
file_pread(5,3,buffer,1952604175(121543/252/5)) lseek err Invalid argument
file_pread(5,3,buffer,1952604222(121543/252/52)) lseek err Invalid argument
file_pread(5,8,buffer,1952604238(121543/253/5)) lseek err Invalid argument
file_pread(5,11,buffer,1952604285(121543/253/52)) lseek err Invalid argument
file_pread(5,2,buffer,1952606207(121544/29/21)) lseek err Invalid argument
get_geometry_from_list_part_aux head=255 nbr=2
get_geometry_from_list_part_aux head=8 nbr=1
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=2

Results
* FAT32 LBA 0 1 1 121542 254 63 1952588232 [NO NAME]
FAT32, blocksize=65536, 999 GB / 931 GiB


dir_partition inode=0
* FAT32 LBA 0 1 1 121542 254 63 1952588232 [NO NAME]
FAT32, blocksize=65536, 999 GB / 931 GiB
FAT: cluster=2(0x2), pos=238419
file_pread(5,128,buffer,238419(14/214/28)) ReadFile Data error (cyclic redundancy check).

file_pread(5,1,buffer,238419(14/214/28)) ReadFile Data error (cyclic redundancy check).

FAT: Can't read directory cluster.
Directory /

interface_write()
1 * FAT32 LBA 0 1 1 121542 254 63 1952588232 [NO NAME]

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

Re: Hdd error - testdisk.log - HELP

#2 Post by cgrenier »

The CRC errors means the disk contains bad sectors. You need to clone the disk to a new empty disk.
You can use gnu ddrescue from a Linux LiveUSB, see https://www.cgsecurity.org/testdisk.pdf for the details.
Once the copy is done, remove the original disks and try to access your data on the clone
Good luck

Locked