Recover partition w/files (partition ends after disk limits) Topic is solved

How to use TestDisk to recover lost partition
Locked
Message
Author
LeonimuZ
Posts: 1
Joined: 22 Aug 2012, 01:32

Recover partition w/files (partition ends after disk limits)  Topic is solved

#1 Post by LeonimuZ » 22 Aug 2012, 01:56

UPDATE: DISREGARD. I found a guide deep within this forum. Got my files back now trying to set the HDD back to normal. Thanks!

Original Post:
-------------------------------------------------------------------------------------------------

Hello!, I have been looking on how to solve this for about 24 hours now. Here is my story:
I was deleting a "System Reserved" with Windows Disk Utility because i didn't need it anymore. Oh that went well, i merged it with the other partition, but it still showed as 2 different partitions. I clicked on Delete on the "System Reserved" but it deleted both partitions instead of just the one i didn't want.

Enter testdisk:
Quick scan shows both partitions, but i can only recover the "System Reserved" one (aka the one i don't want) because the main partition "LeonimuZ HDD" because it ends after the limits.
Deep scan showed the same 2 times. The third scan showed me the partition and i could see the files, but I was dumb and didn't copy them in hopes of restoring the partition without copying everything over (my other HD is only 160gb and has Windows installed on it). this never happened again.

This is a non bootable Drive. It used to have Windows 8 on it, but now i'm using it to store all my data. I can use both Windows and Ubuntu to do fixes so pick the one you know best.
I have searched all over the place and have found no precise answer to my conundrum. No other software has been able to find that partition, only testdisk has (open source FTW).

Thanks in advance.

The log with all my attempts:

Code: Select all

Tue Aug 21 18:46:23 2012
Command line: TestDisk

TestDisk 6.14-WIP, Data Recovery Utility, July 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 4.6, Cygwin 1007.9
Compilation date: 2012-08-14T11:59:29
ext2fs lib: 1.42.2, 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)=160041885696
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=250059350016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=160041885696
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=250059350016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=160039960576
filewin32_getfilesize(\\.\D:) GetFileSize err Incorrect function.

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

Warning: can't get size for \\.\D:
Hard disk list
Disk /dev/sda - 160 GB / 149 GiB - CHS 19457 255 63, sector size=512 - FUJITSU MHY2160BH, S/N:344b313137543242553733522020202020202020, FW:890B
Disk /dev/sdb - 250 GB / 232 GiB - CHS 30401 255 63, sector size=512 - FUJITSU MHZ2250BH G2, S/N:364b3731385432384a524b4c2020202020202020, FW:8909
Drive C: - 160 GB / 149 GiB - CHS 19457 255 63, sector size=512

Partition table type default to Intel
Disk /dev/sdb - 250 GB / 232 GiB - FUJITSU MHZ2250BH G2
Partition table type: Intel

Interface Advanced
New options :
 Dump : No
 Align partition: Yes
 Expert mode : No

Interface Advanced

Analyse Disk /dev/sdb - 250 GB / 232 GiB - CHS 30401 255 63
Current partition structure:
No partition is bootable

search_part()
Disk /dev/sdb - 250 GB / 232 GiB - CHS 30401 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 [System Reserved]
     NTFS, blocksize=4096, 104 MB / 100 MiB
NTFS at 12/223/20
filesystem size           488390656
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 30413 200 59  488390656 [LeonimuZ HDD]
     NTFS, blocksize=4096, 250 GB / 232 GiB
This partition ends after the disk limits. (start=206848, size=488390656, end=488597503, disk end=488397168)
Search for partition aborted
Disk /dev/sdb - 250 GB / 232 GiB - CHS 30401 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (250 GB / 232 GiB) seems too small! (< 250 GB / 232 GiB)
The following partition can't be recovered:
     HPFS - NTFS             12 223 20 30413 200 59  488390656 [LeonimuZ HDD]
     NTFS, blocksize=4096, 250 GB / 232 GiB

Results
   * HPFS - NTFS              0  32 33    12 223 19     204800 [System Reserved]
     NTFS, blocksize=4096, 104 MB / 100 MiB

interface_write()
 1 * HPFS - NTFS              0  32 33    12 223 19     204800 [System Reserved]
simulate write!

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

Interface Advanced
New options :
 Dump : No
 Align partition: Yes
 Expert mode : No
Partition table type default to Intel
Disk /dev/sdb - 250 GB / 232 GiB - FUJITSU MHZ2250BH G2
Partition table type: Intel

Analyse Disk /dev/sdb - 250 GB / 232 GiB - CHS 30401 255 63
Current partition structure:
No partition is bootable

search_part()
Disk /dev/sdb - 250 GB / 232 GiB - CHS 30401 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 [System Reserved]
     NTFS, blocksize=4096, 104 MB / 100 MiB
NTFS at 12/223/20
filesystem size           488390656
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 30413 200 59  488390656 [LeonimuZ HDD]
     NTFS, blocksize=4096, 250 GB / 232 GiB
This partition ends after the disk limits. (start=206848, size=488390656, end=488597503, disk end=488397168)
Search for partition aborted
Disk /dev/sdb - 250 GB / 232 GiB - CHS 30401 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (250 GB / 232 GiB) seems too small! (< 250 GB / 232 GiB)
The following partition can't be recovered:
     HPFS - NTFS             12 223 20 30413 200 59  488390656 [LeonimuZ HDD]
     NTFS, blocksize=4096, 250 GB / 232 GiB

Results
   * HPFS - NTFS              0  32 33    12 223 19     204800 [System Reserved]
     NTFS, blocksize=4096, 104 MB / 100 MiB

interface_write()
 1 * HPFS - NTFS              0  32 33    12 223 19     204800 [System Reserved]

search_part()
Disk /dev/sdb - 250 GB / 232 GiB - CHS 30401 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 [System Reserved]
     NTFS, blocksize=4096, 104 MB / 100 MiB
NTFS at 12/190/50
filesystem size           488390656
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
NTFS part_offset=104857088, part_size=250056015872, sector_size=512
NTFS partition cannot be added (part_offset<part_size).
NTFS at 12/223/19
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 [System Reserved]
     NTFS found using backup sector, blocksize=4096, 104 MB / 100 MiB
NTFS at 12/223/20
filesystem size           488390656
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 30413 200 59  488390656 [LeonimuZ HDD]
     NTFS, blocksize=4096, 250 GB / 232 GiB
This partition ends after the disk limits. (start=206848, size=488390656, end=488597503, disk end=488397168)
Search for partition aborted
Disk /dev/sdb - 250 GB / 232 GiB - CHS 30401 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (250 GB / 232 GiB) seems too small! (< 250 GB / 232 GiB)
The following partition can't be recovered:
     HPFS - NTFS             12 223 20 30413 200 59  488390656 [LeonimuZ HDD]
     NTFS, blocksize=4096, 250 GB / 232 GiB

Results
   * HPFS - NTFS              0  32 33    12 223 19     204800 [System Reserved]
     NTFS, blocksize=4096, 104 MB / 100 MiB

interface_write()
 1 * HPFS - NTFS              0  32 33    12 223 19     204800 [System Reserved]
simulate write!

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

TestDisk exited normally.

Using locale 'C.UTF-8'.


Tue Aug 21 19:57:11 2012
Command line: TestDisk /debug /log

Sponsored links

Locked

Who is online

Users browsing this forum: No registered users and 1 guest