Non destructively Convert offline dynamic disk to basic disk using testdisk tool

3

2

I had a 250GB hard disk having several NTFS partitions. The disk was a dynamic disk (created in windows).

Now when I formatted windows (which was in another disk), the dynamic disk is shown as offline.

I tried using the testdisk tool to recover the data and created a partial backup.

Testdisk is able to list all partitions in the disk. All partitions are shown as type 'D' (Deleted). I want to change the 'D' to 'P' (Primary), 'L'(Logical), 'E' (Extended) appropriately and build a new partition table. If I can write the partition table to disk, the disk will be of 'basic' type and should be readable in all OS.

testdisk screen shot of the recovered partition table What should be the appropriate partition types? I checked the files on the partitions and no OS was ound. So none of the partitions were bootable.

Will randomly selecting P,L,E hurt the data in anyway?

Edit

Can anyone suggest how to choose the partition types to P,L,E given that none of the partitions were bootable.

AIB

Posted 2012-04-12T09:35:15.770

Reputation: 521

If you shrink the partitions in the Dynamic Disk ~about 1MB each and then use testdisk, then those 'D' will go away. Proof: https://www.youtube.com/watch?v=zTwPch9acGc

– Nehal J Wani – 2016-01-15T18:11:28.847

1If you care at all about the data, before you do anything else, make a backup image of the entire drive. – David Schwartz – 2012-04-12T09:44:45.127

all this is doing is altering the partition table itself, the hurting of the data will come when the file system type (including dynamic) , or the layout is wrong (which looks ok so far) or even if something changes the original cluster layout. That Hurting will be done when the OS runs a chkdsk or any other disk software tries to repair something it does not understand. So as little as i know about what your doing, watch out for chkdsk type software that runs at boots, most other software would ask first. – Psycogeek – 2012-04-12T09:58:44.323

I have copied most of the important data..But I am not quite sure, if something was missed...I dont have enough space in my hdd to backup the entire disk...I have seen people talking about seamless conversion from dynamic to basic..http://mypkb.wordpress.com/2007/03/28/how-to-non-destructively-convert-dynamic-disks-to-basic-disks/

– AIB – 2012-04-12T10:00:01.143

and see the comment there also ""I tried this article too but test disk gave me wrong information that on my dynamic disk have 5 partitions although i have 7 on basic disk that were converted into dynamic disk. . . etc"" There are some major changes in the cluster structure and TOC (table of contents) between dynamic and basic. – Psycogeek – 2012-04-12T10:09:24.623

@AIB: Then stop what you're doing. Go out and buy a backup disk and make an image to that disk. You say you care about the data but you're acting like you don't. – David Schwartz – 2012-04-12T10:21:50.307

Which Windows you are using XP or 7? – avirk – 2012-04-12T10:31:51.013

@avirk Windows XP – AIB – 2012-04-12T12:25:06.157

Can you please show the screen shot of the disk management? – avirk – 2012-04-14T00:08:32.573

Answers

1

Some moron, likely previously employed, at my workplace installed a second 500GB hard drive in two systems and set it to Dynamic.

The first time I encountered this it bit me after I reimaged the system. 500GB of GIS data needed by an engineer ...

I followed this -analysed the drive, picked a partition with P and used the "c" option it mentions below to copy all files off to an external USB 2.0 disk. It took about a week to copy all the data, but in the process the original drive was untouched. Basically testdisk lets you traverse the directories and copy off data without modifying the disk.

LawrenceC

Posted 2012-04-12T09:35:15.770

Reputation: 63 487

0

You can change your Dynamic disk to basic disk without losing data.
Even though you will not lose the data when you use this option to convert a dynamic disk back to a primary disk, be sure backup any data on the dynamic disk that you wish to keep first just to be safe in case something happens.
1. Open the Control Panel (All Items view), and click on the Administrative Tools icon, then close the Control Panel window.

2. Click on Computer Management in Administrative Tools, then close the Administrative Tools window.

3. If prompted by UAC, click on Yes.

4. In the left pane under Storage, click on Disk Management.

5. In the dynamic disk (ex: Disk 0) that you want to convert to a basic disk, right click on each volume on the disk and click on Delete Volume until the whole disk is unallocated space.

6. When finished, close Disk Management.
Note: It is extremely important to not save anything on this now deleted "unallocated space" disk. If you do, you risk not being able to recover the data on it.

7. If you have not already, you will need to download and install the free MiniTool Partition Wizard Home Edition program. Download and install it.

8. Open MiniTool Partition Wizard Home Edition, and click on the Partition Recovery Wizard link in the left pane.

9. Click on Next.

10. Select the Unallocted disk that use to be the dynamic disk, and click on Next.

11. Select option Full Disk, and click on Next.

12. Select option Quick Scan, and click on Next.

13. When it's finished, check all found partition boxes, and click on Finish.

14. At the bottom left corner of the left pane, click on the Apply button.

15. Now it will ask Apply changes. Click on Yes.

16. When it's finished, a confirmation dialog will appear, click on OK.

17. Close Partition Wizard Home Edition.

18. Restart the computer to have the deleted dynamic disk restored as a primary disk now with all of the data still on it.

Before performing these steps check Convert dynamic disk to basic tutorial. And all the information above form this tutorial and there this is provided on step 4.

avirk

Posted 2012-04-12T09:35:15.770

Reputation: 15 151

I will backup the important data and try... I am skeptical because there are 9 partitions in the dynamic disk and I am not sure that much partitions can be supported in a basic disk...and more importantly, the data I really care are towards the end – AIB – 2012-04-12T13:00:22.420

1And in my case the disk is offline, so I need to get it online(or convert to basic from the windows disk manager ). The case in the tutorial is different, in which the disk is online and data is accessible. For me the only way to access the data is via the test disk tool... – AIB – 2012-04-12T13:03:11.043

You can try to delete the partition through the partition wizard but I'm not sure about the data in that case. – avirk – 2012-04-12T13:05:42.897