testdisk finds the lost partition but does not recover it

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
mlauras
Posts: 3
Joined: 11 May 2018, 19:44

testdisk finds the lost partition but does not recover it

#1 Post by mlauras »

I had problems with windows so I put the rescue disk and it seems it erased the D: partition. I use testdisk and the partition (and most important, the files) are there and in NTFS. But after I boot the computer it doesn't appear (in fact, when I go to disk administration it shows the partition not only empty but in RAW format)

help please

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

Re: testdisk finds the lost partition but does not recover it

#2 Post by cgrenier »

Please copy/paste the testdisk.log file content.
You probably need to run TestDisk, Advanced, Boot, BackupBS, confirm, Quit and restart your computer.

mlauras
Posts: 3
Joined: 11 May 2018, 19:44

Re: testdisk finds the lost partition but does not recover it

#3 Post by mlauras »

I'm copying all the files from the D partition to a new, healthy 1 TB disc since yesterday. More than 24 hs later it only copied 26690 small (mostly jpg) files (more than 10 minutes per file). It's a 825 GB partition so I guess it will be finished next year.....
I don't want to do anything that might erase, even partially, the data

this is my testdisk.log:


Fri May 11 08:20:27 2018
Command line: TestDisk

TestDisk 7.1-WIP, Data Recovery Utility, April 2018
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 6.4, Cygwin32 2009.0
ext2fs lib: 1.43.1, ntfs lib: 10:0:0, reiserfs lib: none, ewf lib: 20140608, curses lib: ncurses 6.0
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=1000204886016
filewin32_getfilesize(\\.\PhysicalDrive1) GetFileSize err Función incorrecta.

filewin32_setfilepointer(\\.\PhysicalDrive1) SetFilePointer err Función incorrecta.

Warning: can't get size for \\.\PhysicalDrive1
filewin32_getfilesize(\\.\PhysicalDrive2) GetFileSize err Función incorrecta.

filewin32_setfilepointer(\\.\PhysicalDrive2) SetFilePointer err Función incorrecta.

Warning: can't get size for \\.\PhysicalDrive2
filewin32_getfilesize(\\.\PhysicalDrive3) GetFileSize err Función incorrecta.

filewin32_setfilepointer(\\.\PhysicalDrive3) SetFilePointer err Función incorrecta.

Warning: can't get size for \\.\PhysicalDrive3
filewin32_getfilesize(\\.\PhysicalDrive4) GetFileSize err Función incorrecta.

filewin32_setfilepointer(\\.\PhysicalDrive4) SetFilePointer err Función incorrecta.

Warning: can't get size for \\.\PhysicalDrive4
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=113417125888
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=886679011328
filewin32_getfilesize(\\.\E:) GetFileSize err Función incorrecta.

filewin32_setfilepointer(\\.\E:) SetFilePointer err Función incorrecta.

Warning: can't get size for \\.\E:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=0
Warning: can't get size for \\.\F:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=0
Warning: can't get size for \\.\G:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=0
Warning: can't get size for \\.\H:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\I:)=0
Warning: can't get size for \\.\I:
Hard disk list
Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - WDC WD1002FAEX-00Z3A0, S/N:2020202057202d44435754414152303335333438, FW:05.01D05

Partition table type (auto): Intel
Disk /dev/sda - 1000 GB / 931 GiB - WDC WD1002FAEX-00Z3A0
Partition table type: Intel

Analyse Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/32/33
NTFS at 12/223/20
NTFS at 13801/184/16
Current partition structure:
1 * HPFS - NTFS 0 32 33 12 223 19 204800 [Reservado para el sistema]
2 P HPFS - NTFS 12 223 20 13801 184 15 221517824
3 P HPFS - NTFS 13801 184 16 121600 247 55 1731794944 [MLS]

search_part()
Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63
NTFS at 0/32/33
filesystem size 204800
sectors_per_cluster 8
mft_lcn 8533
mftmirr_lcn 2
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 32 33 12 223 19 204800 [Reservado para el sistema]
NTFS, blocksize=4096, 104 MB / 100 MiB
NTFS at 12/223/20
filesystem size 221517824
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 2
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 12 223 20 13801 184 15 221517824
NTFS, blocksize=4096, 113 GB / 105 GiB
NTFS at 13801/184/16
filesystem size 1731794944
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 2
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 13801 184 16 121600 247 55 1731794944 [MLS]
NTFS, blocksize=4096, 886 GB / 825 GiB
file_pread(4,2,buffer,1953525759(121601/90/25)) lseek err Invalid argument
file_pread(4,1,buffer,1953525759(121601/90/25)) lseek err Invalid argument
file_pread(4,2,buffer,1953525760(121601/90/26)) lseek err Invalid argument
file_pread(4,1,buffer,1953525760(121601/90/26)) lseek err Invalid argument
file_pread(4,8,buffer,1953525248(121601/82/18)) lseek err Invalid argument
file_pread(4,1,buffer,1953525248(121601/82/18)) lseek err Invalid argument
file_pread(4,8,buffer,1953525376(121601/84/20)) lseek err Invalid argument
file_pread(4,8,buffer,1953525504(121601/86/22)) lseek err Invalid argument
file_pread(4,8,buffer,1953525632(121601/88/24)) lseek err Invalid argument
file_pread(4,7,buffer,1953525761(121601/90/27)) lseek err Invalid argument
file_pread(4,2,buffer,1953525760(121601/90/26)) lseek err Invalid argument
file_pread(4,8,buffer,1953525768(121601/90/34)) lseek err Invalid argument
file_pread(4,3,buffer,1953525776(121601/90/42)) lseek err Invalid argument
file_pread(4,3,buffer,1953525823(121601/91/26)) lseek err Invalid argument
file_pread(4,8,buffer,1953525839(121601/91/42)) lseek err Invalid argument
file_pread(4,11,buffer,1953525886(121601/92/26)) lseek err Invalid argument
file_pread(4,2,buffer,1953527808(121601/122/58)) lseek err Invalid argument

Results
* HPFS - NTFS 0 32 33 12 223 19 204800 [Reservado para el sistema]
NTFS, blocksize=4096, 104 MB / 100 MiB
P HPFS - NTFS 12 223 20 13801 184 15 221517824
NTFS, blocksize=4096, 113 GB / 105 GiB
P HPFS - NTFS 13801 184 16 121600 247 55 1731794944 [MLS]
NTFS, blocksize=4096, 886 GB / 825 GiB
NTFS Volume is dirty.


dir_partition inode=5
P HPFS - NTFS 13801 184 16 121600 247 55 1731794944 [MLS]
NTFS, blocksize=4096, 886 GB / 825 GiB
Directory /
5 dr-xr-xr-x 0 0 0 9-May-2018 19:31 .
5 dr-xr-xr-x 0 0 0 9-May-2018 19:31 ..
37 dr-xr-xr-x 0 0 0 1-May-2015 19:05 $RECYCLE.BIN
85 dr-xr-xr-x 0 0 0 19-Jan-2017 04:04 CABJ
28927 dr-xr-xr-x 0 0 0 25-Jul-2013 18:33 DVD Covers
42883 dr-xr-xr-x 0 0 0 5-May-2018 18:17 Doc's
7374 dr-xr-xr-x 0 0 0 24-Feb-2013 17:02 Facu
96 dr-xr-xr-x 0 0 0 9-Apr-2018 23:24 GNR
42965 dr-xr-xr-x 0 0 0 31-Dec-2014 17:41 Iconos
37726 dr-xr-xr-x 0 0 0 8-Jan-2016 18:48 Music
29070 dr-xr-xr-x 0 0 0 5-Aug-2016 21:30 Pictures
35 dr-xr-xr-x 0 0 0 1-Feb-2014 08:04 System Volume Information
50342 dr-xr-xr-x 0 0 0 19-Jun-2016 01:11 Videos
30293 dr-xr-xr-x 0 0 0 1-May-2015 13:51 back
7192 dr-xr-xr-x 0 0 0 23-Mar-2018 20:24 celular
42813 dr-xr-xr-x 0 0 0 25-Jul-2015 20:49 cual es
30459 dr-xr-xr-x 0 0 0 14-May-2015 18:28 dd245d0ccc47e64a0a4dfe91c884
42955 dr-xr-xr-x 0 0 0 25-Jul-2015 21:05 gifts
44925 dr-xr-xr-x 0 0 0 23-Mar-2018 20:02 photos
95027 dr-xr-xr-x 0 0 0 23-Mar-2018 20:22 recetas
44924 -r--r--r-- 0 0 147187 4-Nov-2011 20:14 Mls.contact
57033 -r--r--r-- 0 0 1865728 10-Feb-2009 23:57 Pt1Theme.mp3
22 -r--r--r-- 0 0 6544 9-May-2018 19:21 bootsqm.dat
84 -r--r--r-- 0 0 102853868 24-Feb-2013 06:19 recovery1.st3

interface_write()
1 * HPFS - NTFS 0 32 33 12 223 19 204800 [Reservado para el sistema]
2 P HPFS - NTFS 12 223 20 13801 184 15 221517824
3 P HPFS - NTFS 13801 184 16 121600 247 55 1731794944 [MLS]
write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition
You will have to reboot for the change to take effect.
SIGHUP detected! TestDisk has been killed.

mlauras
Posts: 3
Joined: 11 May 2018, 19:44

Re: testdisk finds the lost partition but does not recover it

#4 Post by mlauras »

any help? any solution?

Locked