Page 1 of 1

recover partitions lost converting to gpt using diskpart

Posted: 29 Sep 2019, 05:14
by iamthebull
I was not able to install Windows 10 on my hard drive as it was using MBR format. I followed some bad advise and used diskpart to convert to GPT which has deleted all my existing partitions.

I'm trying to use TestDisk to recover the partitions but I am confused between the results I see in the quick scan and the deep scan so I'm hesitant to commit any changes.

My original system was:
1 - NTFS partition for Windows 8.1
2 - ext4 partition for linux /root
3 - linux swap
4 - ext4 partition for linux /home
5 - NTFS partition for Windows Server 2016
about 70GB unallocated space
Grub bootloader

I selected the recommended drive type Intel.

The initial analyze shows all unallocated space (see part1.png attached).

The quick scan seems to show the correct partitions (see part1.png attached).

But the deep scan shows many more partitions (see part2.png attached). It seems to me that some of the partitions are now duplicated in the results. Is this expected?

I also encountered a warning message (see warning.png attached) should I be concerned about this?

Should I commit the results from the quick scan?

Re: recover partitions lost converting to gpt using diskpart

Posted: 30 Sep 2019, 17:00
by cgrenier
You need to switch the partition to recover to
- P(rimary), *(bootable) or L(ogical) when using a PC Intel partition table
- P(rimary) when using an EFI GPT partition table.

You can try the following setup:
* - NTFS partition for Windows 8.1
P - ext4 partition for linux /root
L - linux swap
L - ext4 partition for linux /home
P - NTFS partition for Windows Server 2016

Re: recover partitions lost converting to gpt using diskpart

Posted: 08 Oct 2019, 19:34
by iamnikkei96
I have the same issue did you recover your partitions successfully?