Invalid Dynamic Disk, How to back partitions?

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
naiem
Posts: 6
Joined: 04 Jun 2015, 18:02

Invalid Dynamic Disk, How to back partitions?

#1 Post by naiem »

First I'm sorry for my English, I don't know English well!
I have a 500Gb Seagate HDD that had some partitions and my disk was dynamic.
after a windows re-installation my disk changed to invalid and I can't access my partitions!
and my disk can't be converted to Basic Disk, no way!
I have tried many partition manager and recovery tools, but I didn't try test disk yet!
please help, how can I back my partitions?
Last edited by naiem on 05 Jun 2015, 15:17, edited 1 time in total.

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

Re: Invalid Dynamic Disk, How to back psrtitions?

#2 Post by Fiona »

Can you run a diagnose and copy and paste the content of your testdisk.log into your next post?
Youl'll find your testdisk.log within your testdisk folder.
You should run Analyse / Quick and if partitions are not found Deeper Search also.
Please mark each found partition and press p to have a try to list your files.

Fiona

naiem
Posts: 6
Joined: 04 Jun 2015, 18:02

Re: Invalid Dynamic Disk, How to back psrtitions?

#3 Post by naiem »

More Information, Screenshot and log file
I had 10 partitions on my disk before the problem: 9x52GB + 1x17GB. I don't know they were primary or logical, but logical I think because I created them by windows disk management and I didn't have OS on none of them!
Here is a screenshot of Windows Disk Management after the problem that show my disk is invalid:
Image
And here is the log file from Testdisk, I don't know how to create log file, I follow this: Create, Select my disk and Proceed, Intel, Analyse, Quick Search, I saw a list of my Drives, 10 Drives all are Deleted "D", Enter: To continue, and then quit ; I hope that was right, If it wasn't tell me how t create log file:

Code: Select all

alDrive0)=500106780160
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=1000203804160
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=155186325504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=155186325504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=155186325504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=155186325504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=155186325504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=224262226944
filewin32_getfilesize(\\.\I:) GetFileSize err Incorrect function.

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

Warning: can't get size for \\.\I:
filewin32_getfilesize(\\.\J:) GetFileSize err Incorrect function.

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

Warning: can't get size for \\.\J:
filewin32_getfilesize(\\.\K:) GetFileSize err Incorrect function.

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

Warning: can't get size for \\.\K:
Hard disk list
Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512
Drive C: - 155 GB / 144 GiB - CHS 18866 255 63, sector size=512
Drive H: - 224 GB / 208 GiB - CHS 27264 255 63, sector size=512

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

Analyse Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63
Geometry from i386 MBR: head=255 sector=63
check_part_i386 1 type 42: no test
get_geometry_from_list_part_aux head=255 nbr=2
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=2
Current partition structure:
 1 P W2K Dynamic/SFS          0   1  1 60800 254 63  976768002
No partition is bootable

search_part()
Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63
NTFS at 0/1/1
filesystem size           102400000
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               6399999
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS              0   1  1  6374  27 52  102400000
     NTFS, blocksize=4096, 52 GB / 48 GiB
NTFS at 6374/27/53
filesystem size           102400000
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               6399999
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS           6374  27 53 12748  54 41  102400000
     NTFS, blocksize=4096, 52 GB / 48 GiB
NTFS at 12748/54/42
filesystem size           102400000
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               6399999
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS          12748  54 42 19122  81 30  102400000
     NTFS, blocksize=4096, 52 GB / 48 GiB
NTFS at 19122/81/31
filesystem size           102400000
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               6399999
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS          19122  81 31 25496 108 19  102400000
     NTFS, blocksize=4096, 52 GB / 48 GiB
NTFS at 25496/108/20
filesystem size           102400000
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               6399999
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS          25496 108 20 31870 135  8  102400000
     NTFS, blocksize=4096, 52 GB / 48 GiB
NTFS at 31870/135/9
filesystem size           102400000
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               6399999
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS          31870 135  9 38244 161 60  102400000
     NTFS, blocksize=4096, 52 GB / 48 GiB
NTFS at 38244/161/61
filesystem size           102400000
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               6399999
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS          38244 161 61 44618 188 49  102400000
     NTFS, blocksize=4096, 52 GB / 48 GiB
NTFS at 44618/188/50
filesystem size           102400000
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               6399999
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS          44618 188 50 50992 215 38  102400000
     NTFS, blocksize=4096, 52 GB / 48 GiB
NTFS at 50992/215/39
filesystem size           122880000
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               7679999
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS          50992 215 39 58641 196 50  122880000
     NTFS, blocksize=4096, 62 GB / 58 GiB
NTFS at 58641/196/51
filesystem size           34688002
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2168000
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS          58641 196 51 60800 254 63   34688002
     NTFS, blocksize=4096, 17 GB / 16 GiB
file_pread(4,2,buffer,976771072(60801/47/47)) lseek err Invalid argument
file_pread(4,1,buffer,976771072(60801/47/47)) lseek err Invalid argument
file_pread(4,1,buffer,976771071(60801/47/46)) lseek err Invalid argument
file_pread(4,1,buffer,976771072(60801/47/47)) lseek err Invalid argument
file_pread(4,14,buffer,976771073(60801/47/48)) lseek err Invalid argument
file_pread(4,3,buffer,976771087(60801/47/62)) lseek err Invalid argument
file_pread(4,3,buffer,976771134(60801/48/46)) lseek err Invalid argument
file_pread(4,8,buffer,976771150(60801/48/62)) lseek err Invalid argument
file_pread(4,11,buffer,976771197(60801/49/46)) lseek err Invalid argument
file_pread(4,2,buffer,976773119(60801/80/15)) 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  6374 254 63  102414312
     NTFS, blocksize=4096, 52 GB / 48 GiB
     HPFS - NTFS           6374  27 53 12748  54 41  102400000
     NTFS, blocksize=4096, 52 GB / 48 GiB
     HPFS - NTFS          12748  54 42 19122  81 30  102400000
     NTFS, blocksize=4096, 52 GB / 48 GiB
     HPFS - NTFS          19122  81 31 25496 108 19  102400000
     NTFS, blocksize=4096, 52 GB / 48 GiB
     HPFS - NTFS          25496 108 20 31870 135  8  102400000
     NTFS, blocksize=4096, 52 GB / 48 GiB
     HPFS - NTFS          31870 135  9 38244 161 60  102400000
     NTFS, blocksize=4096, 52 GB / 48 GiB
     HPFS - NTFS          38244 161 61 44618 188 49  102400000
     NTFS, blocksize=4096, 52 GB / 48 GiB
     HPFS - NTFS          44618 188 50 50992 215 38  102400000
     NTFS, blocksize=4096, 52 GB / 48 GiB
     HPFS - NTFS          50992 215 39 58641 196 50  122880000
     NTFS, blocksize=4096, 62 GB / 58 GiB
     HPFS - NTFS          58641 196 51 60800 254 63   34688002
     NTFS, blocksize=4096, 17 GB / 16 GiB

interface_write()
 
No partition found or selected for recovery
simulate write!

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

TestDisk exited normally.
So, How can I back my partitions with all data safety?

naiem
Posts: 6
Joined: 04 Jun 2015, 18:02

Re: Invalid Dynamic Disk, How to back partitions?

#4 Post by naiem »

Hey,no one will answer me?! Please I need help immediately!

naiem
Posts: 6
Joined: 04 Jun 2015, 18:02

Re: Invalid Dynamic Disk, How to back partitions?

#5 Post by naiem »

As I said before, I had 10 partitions on my disk; 9x52GB + 1x17GB. in Testdisk after Quick search, these 10 partitions have been found:
Image
What should I do now? Will all of my partitions back safety if I change Letter "D" to "L"? then I should write changes, right?

naiem
Posts: 6
Joined: 04 Jun 2015, 18:02

Re: Invalid Dynamic Disk, How to back partitions?

#6 Post by naiem »

@Fiona
Please help me here if you can?

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

Re: Invalid Dynamic Disk, How to back partitions?

#7 Post by Fiona »

Your first partition overlaps your second partition and if you´d like it to get it back as Intel-MBR basic partitions, there is no space left to create an extended partition.
Example:
Results
HPFS - NTFS 0 1 1 6374 254 63 102414312
NTFS, blocksize=4096, 52 GB / 48 GiB
HPFS - NTFS 6374 27 53 12748 54 41 102400000
NTFS, blocksize=4096, 52 GB / 48 GiB
Can you try to set the first and the second partition to P for primary only?
You should check each partition and use your left or right arrow key on your keyboard to set them to P for primary.
You'll see it at the left side.
Did it work?
HPFS - NTFS 12748 54 42 19122 81 30 102400000
NTFS, blocksize=4096, 52 GB / 48 GiB
HPFS - NTFS 19122 81 31 25496 108 19 102400000
NTFS, blocksize=4096, 52 GB / 48 GiB
HPFS - NTFS 25496 108 20 31870 135 8 102400000
NTFS, blocksize=4096, 52 GB / 48 GiB
HPFS - NTFS 31870 135 9 38244 161 60 102400000
NTFS, blocksize=4096, 52 GB / 48 GiB
HPFS - NTFS 38244 161 61 44618 188 49 102400000
NTFS, blocksize=4096, 52 GB / 48 GiB
HPFS - NTFS 44618 188 50 50992 215 38 102400000
NTFS, blocksize=4096, 52 GB / 48 GiB
HPFS - NTFS 50992 215 39 58641 196 50 122880000
NTFS, blocksize=4096, 62 GB / 58 GiB
HPFS - NTFS 58641 196 51 60800 254 63 34688002
NTFS, blocksize=4096, 17 GB / 16 GiB
The red highlighted values are the end and start sector of your fourth and your fifth partition.
The fifth partition starts with the next sector after your fourth partition.
Can you try to set them to L for logical using your left or right arrow key on your keyboard?
Do you get a message structure bad?

Please let me know.

Fiona.

naiem
Posts: 6
Joined: 04 Jun 2015, 18:02

Re: Invalid Dynamic Disk, How to back partitions?

#8 Post by naiem »

No I can't set first and second partition to P, one of them yes, but for both No! I get a message structure bad, for 4th and 5th to L, I got a message structure bad, too.
Even I Can't set two consecutive partitions to L or P!
I can set partition to L or P i these three ways:
1-
Image
2-
Image
3-
Image
What should I do now? I need all of my data, the last 5 partitions are more urgent!
Last edited by naiem on 12 Jun 2015, 11:24, edited 2 times in total.

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

Re: Invalid Dynamic Disk, How to back partitions?

#9 Post by Fiona »

I'd suggest to copy/backup files first running testdisk.
If you list your files, at the bottom of the testdisk display, you'll find all the commands.
Standard path is the testdisk folder.
If you'd like to select another disk or partition, you can check that 2 dots in the upper area of the testdisk display and press enter.
Each time you'll get one directory up until you get to your disk selection.
If you'd like to copy your data to another folder, you can create a folder in advance and in testdisk easily mark it and use the right arrow key on your keyboard to enter it as your target.
You could create for each partition a folder.
This would be a safe solution.
After datarecovery, you can delete all partitions and convert your disk to basic disk.
You can create 3 primary partitions and 1 extended partition for your logical drives and copy data back.

If you decide to recover some partitions first, you can decide to decrease the size of your partitions using your disk management console and afterwards to recover all the other partitions.
But this is not a safe solution and shouldn't be done without backup.
In case, please let me know and would be on your own risk!

Fiona

Locked