Help with partition recovery

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
nnd005
Posts: 4
Joined: 13 Jun 2015, 12:50

Help with partition recovery

#1 Post by nnd005 »

Hi!
I have WD 1TB external drive, with one NTFS partition, not recognized by windows. Testdisk quickly found my partition, and I selected Write to create the new partition structure, and restarted the PC.

But the windows still dont recognize the disk. Is there a way to fix it, or should I just copy the files using Testdisk to another drive?
I'd like to repair the partition if possible.


Here's the log:

Code: Select all

Sat Jun 13 13:15:09 2015
Command line: TestDisk

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
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)=120034123776
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=1000202043392
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=120034123776
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=1000202043392
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=26213935104
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=93817543680
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:)=1000200994816
Hard disk list
Disk /dev/sda - 120 GB / 111 GiB - CHS 14593 255 63, sector size=512
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121600 255 63, sector size=512
Drive C: - 26 GB / 24 GiB - CHS 3186 255 63, sector size=512
Drive D: - 93 GB / 87 GiB - CHS 11406 255 63, sector size=512
Drive F: - 1000 GB / 931 GiB - CHS 121600 255 63, sector size=512

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

Analyse Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121600 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/32/33
Current partition structure:
 1 * HPFS - NTFS              0  32 33 121600 247 55 1953517568
pread: Input/output error
Failed to calculate number of free MFTs: Input/output error.

search_part()
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121600 255 63
NTFS at 0/32/33
filesystem size           1953517568
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               122094847
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS              0  32 33 121600 247 55 1953517568
     NTFS, blocksize=4096, 1000 GB / 931 GiB
file_pread(5,8,buffer,1953519616(121600/247/56)) ReadFile The drive cannot find the sector requested.

file_pread(5,1,buffer,1953519616(121600/247/56)) ReadFile The drive cannot find the sector requested.

file_pread(5,1,buffer,1953519617(121600/247/57)) lseek err Invalid argument
file_pread(5,14,buffer,1953519618(121600/247/58)) lseek err Invalid argument
file_pread(5,3,buffer,1953519632(121600/248/9)) lseek err Invalid argument
file_pread(5,3,buffer,1953519679(121600/248/56)) lseek err Invalid argument
file_pread(5,8,buffer,1953519695(121600/249/9)) lseek err Invalid argument
file_pread(5,11,buffer,1953519742(121600/249/56)) lseek err Invalid argument
file_pread(5,2,buffer,1953521664(121601/25/25)) lseek err Invalid argument

Results
   * HPFS - NTFS              0  32 33 121600 247 55 1953517568
     NTFS, blocksize=4096, 1000 GB / 931 GiB
file_pread(5,16,buffer,1749533936(108903/114/60)) ReadFile Data error (cyclic redundancy check).

file_pread(5,16,buffer,1749533944(108903/115/5)) ReadFile Data error (cyclic redundancy check).

file_pread(5,1,buffer,1749533944(108903/115/5)) ReadFile Data error (cyclic redundancy check).

NTFS filesystem need to be repaired.


dir_partition inode=5
   * HPFS - NTFS              0  32 33 121600 247 55 1953517568
     NTFS, blocksize=4096, 1000 GB / 931 GiB
file_pread(5,16,buffer,6466308(402/129/52)) ReadFile Data error (cyclic redundancy check).

file_pread(5,16,buffer,6466306(402/129/50)) ReadFile Data error (cyclic redundancy check).


interface_write()
 1 * HPFS - NTFS              0  32 33 121600 247 55 1953517568
simulate write!

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

TestDisk exited normally.

User avatar
Fiona
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Help with partition recovery

#2 Post by Fiona »

Your log file displays some read errors (CRC cyclic redundancy check).
Can you run testdisk / Advanced and Boot / List to have a try to list your files?
Please let me know.
It's intended as a diagnose only.
Don't use Write nor RepairMFT.

Can you check your disk running CrystalDiskInfo.
http://crystalmark.info/download/index-e.html
The portable version is recommended, because the installer (exe) contains the adware Open Candy.

Fiona

nnd005
Posts: 4
Joined: 13 Jun 2015, 12:50

Re: Help with partition recovery

#3 Post by nnd005 »

Fiona wrote:Your log file displays some read errors (CRC cyclic redundancy check).
Can you run testdisk / Advanced and Boot / List to have a try to list your files?
Please let me know.
It's intended as a diagnose only.
Don't use Write nor RepairMFT.

Can you check your disk running CrystalDiskInfo.
http://crystalmark.info/download/index-e.html
The portable version is recommended, because the installer (exe) contains the adware Open Candy.

Fiona
Thanks for your reply!

I can see the list of my files in testdisk.

Here's the CrystalDiskInfo report:
Attachments
cdisk.jpg
cdisk.jpg (104.49 KiB) Viewed 2183 times

User avatar
Fiona
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Help with partition recovery

#4 Post by Fiona »

Can you try to copy your files?
If you list your files, at the bottom of the screen you'll find all the commands.
Checking that 2 dots in the upper area of the testdisk display and pressing enter, you'll get one directory up till your disk selection and select another disk or partition as the destination where you'd like to copy your data to.
You can create a folder in advance on another partition and in testdisk if you mark your folder, you can use the right arrow key on your keyboard to enter it as the destination.
If it causes problems, due to corrupted file system, please let me know.

Fiona

nnd005
Posts: 4
Joined: 13 Jun 2015, 12:50

Re: Help with partition recovery

#5 Post by nnd005 »

I copied a couple of files, and it was successful, the files are OK.

I will have a new disk by the end of the week, would you advise me to copy all the files there from testdisk, using the same method?

Locked