Partion Recovery

How to use TestDisk to recover lost partition
Post Reply
Message
Author
hrzboy
Posts: 3
Joined: 16 May 2017, 05:58

Partion Recovery

#1 Post by hrzboy » 16 May 2017, 06:22

I have a 1TB harddisk.Firstly,I have 180GB free space in the end of disk.
So I decide to extract 150GB out to install a windows 10 64bit.
But when I tried to do so by windows disk tool and diskgenius.There was no selection to do this.
And I found out that the Partion Qualifier is 42 as Raid.I've never have same model harddisks,and hardly remember that I have ever set up the Raid.
So I manually change it back into 07 ntfs in diskgenius and applied the change.
At first it was alright,so I then extract 150g free space out.
And then when I boot the xp from another harddisk 500GB,I found that I was not able to read the data on this 1TB harddisk.
It shows unallocated.And the 150G is able to be use,and accidently be wrote some file.
Then I found TestDisk,seems my only hope.
I tried many operations,seems the only work way is to select Intel selection and deep analyze.
After anaylyzing about 6%,it discovered the right partion but the size is bigger than original and won't apply.
So what can I do to apply it?
tesdisk.PNG
Screeshot
tesdisk.PNG (21.54 KiB) Viewed 413 times
Last edited by hrzboy on 17 May 2017, 12:14, edited 1 time in total.

Sponsored links

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

Re: Partion Recovery

#2 Post by cgrenier » 17 May 2017, 07:04

the png is missing. Can you copy/paste the testdisk.log file content ?
Try Deeper Search if you can't recover your partition after Quick Search.

hrzboy
Posts: 3
Joined: 16 May 2017, 05:58

Re: Partion Recovery

#3 Post by hrzboy » 17 May 2017, 16:54

Thanks for your advice
I did the deeper search
This is the log:

Code: Select all


Wed May 17 20:27:36 2017
Command line: TestDisk

TestDisk 7.1-WIP, Data Recovery Utility, April 2017
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows XP SP3
Compiler: GCC 5.4, Cygwin32 2005.2
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)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=42952379904
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=114898904064
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=114898904064
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=113829617664
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=113525282304
Hard disk list
Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - WDC WD5000AADS-00S9B0, FW:01.00A01
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - WDC WD10EZEX-00RKKA0, FW:80.00A80

Partition table type defaults to Intel
Disk /dev/sdb - 1000 GB / 931 GiB - WDC WD10EZEX-00RKKA0
Partition table type: Intel

Interface Advanced

Analyse Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
Current partition structure:
No partition is bootable

search_part()
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
file_pread(5,2,buffer,1953525759(121601/90/25)) lseek err Invalid argument
file_pread(5,1,buffer,1953525759(121601/90/25)) lseek err Invalid argument
Search for partition aborted

Results

interface_write()
 
No partition found or selected for recovery

search_part()
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63

recover_EXT2: s_block_group_nr=0/384, s_mnt_count=11/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 12582912
recover_EXT2: part_size 100663296
Filesystem created: Sun Mar 16 02:35:14 2014
Last mount time:    Mon Jun 16 12:47:26 2014
     Linux                 1932  30 19  8198  30 24  100663296
     ext4 blocksize=4096 Large_file Sparse_SB Recover, 51 GB / 48 GiB

recover_EXT2: s_block_group_nr=0/384, s_mnt_count=11/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 12582912
recover_EXT2: part_size 100663296
Filesystem created: Sun Mar 16 02:35:14 2014
Last mount time:    Mon Jun 16 12:47:26 2014
     Linux                 1932 127 52  8198 127 57  100663296
     ext4 blocksize=4096 Large_file Sparse_SB Recover, 51 GB / 48 GiB
NTFS at 6724/76/8
filesystem size           1953515520
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
NTFS part_offset=55309237760, part_size=1000199946240, sector_size=512
NTFS partition cannot be added (part_offset<part_size).
NTFS at 6724/108/41
filesystem size           1953515520
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS           6724 108 41 128325  36 31 1953515520 [New Era]
     NTFS, blocksize=4096, 1000 GB / 931 GiB
This partition ends after the disk limits. (start=108027904, size=1953515520, end=2061543423, disk end=1953525168)
file_pread(5,2,buffer,1953525759(121601/90/25)) lseek err Invalid argument
file_pread(5,1,buffer,1953525759(121601/90/25)) lseek err Invalid argument
file_pread(5,2,buffer,1953525760(121601/90/26)) lseek err Invalid argument
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
Check the harddisk size: HD jumper settings, BIOS detection...
The harddisk (1000 GB / 931 GiB) seems too small! (< 1055 GB / 983 GiB)
The following partition can't be recovered:
     HPFS - NTFS           6724 108 41 128325  36 31 1953515520 [New Era]
     NTFS, blocksize=4096, 1000 GB / 931 GiB

Results
     Linux                 1932  30 19  8198  30 24  100663296
     ext4 blocksize=4096 Large_file Sparse_SB Recover, 51 GB / 48 GiB
     Linux                 1932 127 52  8198 127 57  100663296
     ext4 blocksize=4096 Large_file Sparse_SB Recover, 51 GB / 48 GiB


dir_partition inode=2
     Linux                 1932  30 19  8198  30 24  100663296
     ext4 blocksize=4096 Large_file Sparse_SB Recover, 51 GB / 48 GiB
file_pread(5,8,buffer,31039480(2140726/232/43)) lseek err Invalid argument
file_pread(5,1,buffer,31039480(2140726/232/43)) lseek err Invalid argument
ext2fs_dir_iterate failed with error 1.
Directory /

interface_write()
 
No partition found or selected for recovery
So what could I do now?

hrzboy
Posts: 3
Joined: 16 May 2017, 05:58

Re: Partion Recovery

#4 Post by hrzboy » 19 May 2017, 10:43

cgrenier wrote:
17 May 2017, 07:04
the png is missing. Can you copy/paste the testdisk.log file content ?
Try Deeper Search if you can't recover your partition after Quick Search.
Thanks, I re-uploaded the screenshot,and the log.What could I do now?

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

Re: Partion Recovery

#5 Post by cgrenier » 20 May 2017, 14:23

Can you try with EFI GPT as partition table type ?

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests