CHS and LBA dont match, messed up partition

How to use TestDisk to recover lost partition
Post Reply
Message
Author
Moratora
Posts: 2
Joined: 03 Jan 2015, 03:35

CHS and LBA dont match, messed up partition

#1 Post by Moratora » 03 Jan 2015, 03:49

Hi,

I'm pretty new to this, so please bear with me. I am trying to recover data from a hard drive that stopped responding a while ago. Its a Seagate Barracuda 2TB (Model: ST2000DM001)

It was mounted in my desktop, went bad (dont remember why, I think I did something to it while using it to fix another drive about 6 months ago). I removed it from the desktop and used a SATA/USB bridge to connect it to my laptop

I accessed it through TestDisk and get the screens below and I'm not sure what to do next. Any help would be tremendously appreciated!!!

Image

Code: Select all


Fri Jan  2 20:40:37 2015
Command line: TestDisk

TestDisk 7.0-WIP, Data Recovery Utility, June 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-07-24T23:30: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)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=3000558944256
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdd)=2000398934016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=500107862016
filewin32_getfilesize(\\.\PhysicalDrive1) GetFileSize err Incorrect function.

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

Warning: can't get size for \\.\PhysicalDrive1
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=3000558944256
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=2000398934016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=500105740288
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:)=0
Warning: can't get size for \\.\E:
filewin32_getfilesize(\\.\F:) GetFileSize err Incorrect function.

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

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

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

Warning: can't get size for \\.\G:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\I:)=3000557895680
Hard disk list
Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - WDC WD5000BEVT-22A0RT0, S/N:2020202057202d44585731383841443135373934, FW:01.01A01
Disk /dev/sdc - 3000 GB / 2794 GiB - CHS 45599 255 63, sector size=4096 - WD My Book 1230, S/N:WCC4N1330500, FW:1050
Disk /dev/sdd - 2000 GB / 1863 GiB - CHS 30400 255 63, sector size=4096 - ST2000DM 001-1CH164, S/N:152D20337A0C
Disk \\.\PhysicalDrive2 - 3000 GB / 2794 GiB - CHS 45599 255 63, sector size=4096 - WD My Book 1230, S/N:WCC4N1330500, FW:1050
Disk \\.\PhysicalDrive3 - 2000 GB / 1863 GiB - CHS 30400 255 63, sector size=4096 - ST2000DM 001-1CH164, S/N:152D20337A0C
Drive I: - 3000 GB / 2794 GiB - CHS 45599 255 63, sector size=4096 - WD My Book 1230, S/N:WCC4N1330500, FW:1050

Partition table type (auto): Intel
Disk /dev/sdd - 2000 GB / 1863 GiB - ST2000DM 001-1CH164
Partition table type: Intel

Analyse Disk /dev/sdd - 2000 GB / 1863 GiB - CHS 30400 255 63
Geometry from i386 MBR: head=256 sector=63
check_part_i386 1 type EE: no test
Current partition structure:
 1 P EFI GPT                  0   0  2 267349  89  4 4294967295

Warning: Bad ending head (CHS and LBA don't match)
No partition is bootable

search_part()
Disk /dev/sdd - 2000 GB / 1863 GiB - CHS 30400 255 63
check_FAT: number of bytes per sector mismatches 512 (FAT) != 4096 (HD)
check_FAT: number of bytes per sector mismatches 512 (FAT) != 4096 (HD)
check_FAT: number of bytes per sector mismatches 512 (FAT) != 4096 (HD)
NTFS at 10/180/43
Warning: number of bytes per sector mismatches 512 (NTFS) != 4096 (HD)
filesystem size           1024000
sectors_per_cluster       8
mft_lcn                   42666
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS             10 180 43    18 172 26     128000
     NTFS, blocksize=4096, 524 MB / 500 MiB
NTFS at 18/172/27
Warning: number of bytes per sector mismatches 512 (NTFS) != 4096 (HD)
filesystem size           3881781248
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS             18 172 27 30222  99 21  485222656
     NTFS, blocksize=4096, 1987 GB / 1850 GiB
NTFS at 30222/99/22
Warning: number of bytes per sector mismatches 512 (NTFS) != 4096 (HD)
filesystem size           22845616
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS          30222  99 22 30400  37 59    2855702
     NTFS, blocksize=4096, 11 GB / 10 GiB
file_pread(6,1,buffer,488378646(30400/42/1)) ReadFile Data error (cyclic redundancy check).

file_pread(6,1,buffer,488378650(30400/42/5)) lseek err Invalid argument
file_pread(6,1,buffer,488378709(30400/43/1)) lseek err Invalid argument
file_pread(6,1,buffer,488378713(30400/43/5)) lseek err Invalid argument
file_pread(6,1,buffer,488378880(30400/45/46)) lseek err Invalid argument
file_pread(6,1,buffer,488378656(30400/42/11)) lseek err Invalid argument
file_pread(6,1,buffer,488378672(30400/42/27)) lseek err Invalid argument
file_pread(6,1,buffer,488378688(30400/42/43)) lseek err Invalid argument
file_pread(6,1,buffer,488378704(30400/42/59)) lseek err Invalid argument
file_pread(6,1,buffer,488378720(30400/43/12)) lseek err Invalid argument
file_pread(6,1,buffer,488378736(30400/43/28)) lseek err Invalid argument
file_pread(6,1,buffer,488378752(30400/43/44)) lseek err Invalid argument
file_pread(6,1,buffer,488378768(30400/43/60)) lseek err Invalid argument
file_pread(6,1,buffer,488378784(30400/44/13)) lseek err Invalid argument
file_pread(6,1,buffer,488378800(30400/44/29)) lseek err Invalid argument
file_pread(6,1,buffer,488378816(30400/44/45)) lseek err Invalid argument
file_pread(6,1,buffer,488378832(30400/44/61)) lseek err Invalid argument
file_pread(6,1,buffer,488378848(30400/45/14)) lseek err Invalid argument
file_pread(6,1,buffer,488378864(30400/45/30)) lseek err Invalid argument
file_pread(6,1,buffer,488378879(30400/45/45)) lseek err Invalid argument
file_pread(6,2,buffer,488378880(30400/45/46)) lseek err Invalid argument
file_pread(6,2,buffer,488378881(30400/45/47)) lseek err Invalid argument
file_pread(6,2,buffer,488378887(30400/45/53)) lseek err Invalid argument
file_pread(6,2,buffer,488378889(30400/45/55)) lseek err Invalid argument
file_pread(6,2,buffer,488378895(30400/45/61)) lseek err Invalid argument
file_pread(6,2,buffer,488379135(30400/49/49)) lseek err Invalid argument

Results
   * HPFS - NTFS             10 180 43    18 172 26     128000
     NTFS, blocksize=4096, 524 MB / 500 MiB
   P HPFS - NTFS             18 172 27 30222  99 21  485222656
     NTFS, blocksize=4096, 1987 GB / 1850 GiB
   P HPFS - NTFS          30222  99 22 30400  41 41    2855936
     NTFS, blocksize=4096, 11 GB / 10 GiB

interface_write()
 1 * HPFS - NTFS             10 180 43    18 172 26     128000
 2 P HPFS - NTFS             18 172 27 30222  99 21  485222656
 3 P HPFS - NTFS          30222  99 22 30400  41 41    2855936
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition

Analyse Disk /dev/sdd - 2000 GB / 1863 GiB - CHS 30400 255 63
Geometry from i386 MBR: head=256 sector=63
check_part_i386 1 type EE: no test
Current partition structure:
 1 P EFI GPT                  0   0  2 267349  89  4 4294967295

Warning: Bad ending head (CHS and LBA don't match)
No partition is bootable

Sponsored links

Moratora
Posts: 2
Joined: 03 Jan 2015, 03:35

Re: CHS and LBA dont match, messed up partition

#2 Post by Moratora » 05 Jan 2015, 20:59

Can anyone please help me? :(

I'd be tremendously thankful!!!

golimar
Posts: 7
Joined: 12 Jan 2015, 12:01

Re: CHS and LBA dont match, messed up partition

#3 Post by golimar » 12 Jan 2015, 12:16

Are you sure it's a EFI / GPT partition table?

europanorama
Posts: 75
Joined: 18 Dec 2014, 10:44

Re: CHS and LBA dont match, messed up partition

#4 Post by europanorama » 20 Jan 2015, 02:50

press "P"-files on every of the three lines. if files are displayed they can be backed up/restored. use c to copy folders and go the the backup-directory with left arrow. after copy you will be back in the data-section. display backup-folder on the right or left side of testdisk-window to overview backup-process.
if some data cannot be restored try to backup with knoppix-live-dvd.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest