Dynamic Disk Invalid - Invalid Partition Structure

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
rugbal
Posts: 5
Joined: 29 Mar 2016, 15:55
Location: Milan, Italy

Dynamic Disk Invalid - Invalid Partition Structure

#1 Post by rugbal »

Hi!

I am trying to recover my disk partitions w TestDisk, but I m having an error I can't resolve.

The Seagate 500GB SATA has been working fine on my laptop as my main (and only) HDD w 2 partitons (OS + Data), but stopped booting, with no apparent reason (I wasn't trying to do anything on the disk management!).

I connected the HDD on a USB-to-SATA adapter on another PC and Disk Management shows Dynamic Invalid disk.
Run the Seagate Complete Test tool and it says HDD is healthy!

Analyzing w TestDisk shows:

..
- Disk /dev/sdc - 500 GB / 465 GiB
..
- Drive H: - 350 GB / 326 GiB

Trying to Analyze /dev/sdc hints partition table type "Intel"

When finished Analyze, the 2 partitions are detected and shown as "D".
Changing first partition (the largest, which I assume to be the Data partition) to P or * indicates "Structure: Bad" error message in red and after Enter command it says "Invalid partition structure".
Smaller Partition seems ok when changed to P or *.

Start-End Sector sequence seems OK!

Trying to Analyze Drive H: instead, hints to partition table type "None".
Running Analyze for Drive H: as Intel type, shows "Bad relative Sector" for both partitions (Sys=72 and Sys=6C) and warns of "Space conflict between the following two partitions"!

I can't find any similar situation in the Board and hv no idea what to try next!! :?

I attach log file.
Let me know if you need the screen capture w the Space conflict details.

Thanks for any help you may be able to provide!!

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

Re: Dynamic Disk Invalid - Invalid Partition Structure

#2 Post by cgrenier »

Please post the testdisk.log file content after scanning /dev/sdc

rugbal
Posts: 5
Joined: 29 Mar 2016, 15:55
Location: Milan, Italy

Re: Dynamic Disk Invalid - Invalid Partition Structure

#3 Post by rugbal »

Here's the log!

rugbal
Posts: 5
Joined: 29 Mar 2016, 15:55
Location: Milan, Italy

Re: Dynamic Disk Invalid - Invalid Partition Structure

#4 Post by rugbal »

Tue Mar 29 16:35:58 2016
Command line: TestDisk

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 8 (9200)
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)=150039945216
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=250059350016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=150039945216
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=250059350016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=250058113024
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=150037594112
filewin32_getfilesize(\\.\E:) GetFileSize err Incorrect function.

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

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(\\.\H:)=350721433600
Hard disk list
Disk /dev/sda - 150 GB / 139 GiB - CHS 18241 255 63, sector size=512
Disk /dev/sdb - 250 GB / 232 GiB - CHS 30401 255 63, sector size=512
Disk /dev/sdc - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512
Drive C: - 250 GB / 232 GiB - CHS 30401 255 63, sector size=512
Drive D: - 150 GB / 139 GiB - CHS 18241 255 63, sector size=512
Drive H: - 350 GB / 326 GiB - CHS 42639 255 63, sector size=512

Partition table type (auto): Intel
Disk /dev/sdc - 500 GB / 465 GiB
Partition table type: Intel

Analyse Disk /dev/sdc - 500 GB / 465 GiB - CHS 60801 255 63
Geometry from i386 MBR: head=255 sector=63
check_part_i386 1 type 42: no test
NTFS at 18161/188/12
Info: size boot_sector 20805632, partition 685002800
get_geometry_from_list_part_aux head=255 nbr=1
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=1
Current partition structure:
1 * W2K Dynamic/SFS 0 1 1 18161 188 11 291768257
2 P HPFS - NTFS 18161 188 12 60801 48 31 685002800

search_part()
Disk /dev/sdc - 500 GB / 465 GiB - CHS 60801 255 63
NTFS at 0/1/1
filesystem size 291768257
sectors_per_cluster 8
mft_lcn 10
mftmirr_lcn 1048576
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 1 1 18161 188 11 291768257
NTFS, blocksize=4096, 149 GB / 139 GiB
NTFS at 18161/188/12
filesystem size 20805632
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 1300351
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 18161 188 12 19456 211 19 20805632
NTFS, blocksize=4096, 10652 MB / 10159 MiB
file_pread(6,3,buffer,976773183(60801/81/16)) lseek err Invalid argument
file_pread(6,1,buffer,976773183(60801/81/16)) lseek err Invalid argument
file_pread(6,8,buffer,976773199(60801/81/32)) lseek err Invalid argument
file_pread(6,11,buffer,976773246(60801/82/16)) lseek err Invalid argument
file_pread(6,2,buffer,976775168(60801/112/48)) lseek err Invalid argument
file_pread(6,1,buffer,976775167(60801/112/47)) lseek err Invalid argument
file_pread(6,13,buffer,976775170(60801/112/50)) lseek err Invalid argument
file_pread(6,3,buffer,976775183(60801/112/63)) lseek err Invalid argument
file_pread(6,3,buffer,976775230(60801/113/47)) lseek err Invalid argument
file_pread(6,8,buffer,976775246(60801/113/63)) lseek err Invalid argument
file_pread(6,11,buffer,976775293(60801/114/47)) lseek err Invalid argument
file_pread(6,2,buffer,976777215(60801/145/16)) lseek err Invalid argument
get_geometry_from_list_part_aux head=255 nbr=1
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=1

Results
HPFS - NTFS 0 1 1 18161 254 63 291772467
NTFS, blocksize=4096, 149 GB / 139 GiB
HPFS - NTFS 18161 188 12 19456 211 19 20805632
NTFS, blocksize=4096, 10652 MB / 10159 MiB
Invalid partition structure.
Partition table type (auto): None
Drive H: - 350 GB / 326 GiB
Partition table type: Intel

Analyse Drive H: - 350 GB / 326 GiB - CHS 42639 255 63
Geometry from i386 MBR: head=102 sector=52
BAD_RS LBA=1920221984 1286028
check_part_i386 1 type 72: no test
BAD_RS LBA=1936028192 5737917
check_part_i386 2 type 6C: no test
Current partition structure:
1 P Sys=72 119528 74 3 232582 38 44 1816210284

Bad relative sector.
2 * Sys=6C 120512 46 15 242121 118 1 1953653108

Bad relative sector.
Space conflict between the following two partitions
1 P Sys=72 119528 74 3 232582 38 44 1816210284
2 * Sys=6C 120512 46 15 242121 118 1 1953653108

rugbal
Posts: 5
Joined: 29 Mar 2016, 15:55
Location: Milan, Italy

Re: Dynamic Disk Invalid - Invalid Partition Structure

#5 Post by rugbal »

cgrenier, sorry to disturb you, but do you have any wisdom for my situation here?
:)

rugbal
Posts: 5
Joined: 29 Mar 2016, 15:55
Location: Milan, Italy

Re: Dynamic Disk Invalid - Invalid Partition Structure

#6 Post by rugbal »

cgrenier,
just would like to know if lack of response means my problem is not easy to solve or too time-consuming for you ...
I am of course very happy to make a donation if you think you can solve it, but before I reformat the disk, I d like to know if you can help at all ...
best regards

Locked