As my external hd did not show up in disk manager I accidentally clicked gpt when asked. Now the disk results "not allocated". In fedora results "windows reserved". Now I am recovering the files with Photorec in windows, but it's a mess as filenames and structure are gone. Is there a (free) way simply recover the lost partition?
1 Answers
You should have tried TestDisk first to search the partition and rewrite the partition table.
The GPT partition table information is written a the beginning of the disk at a location where it nowadays does not cause any harm as it is typically located in front of the first partition without touching it. However, as some information is written at the end of the disk, roughly 34 sectors my be overwritten there.
As my external hd did not show up in disk manager I accidentally clicked gpt when asked.
This sentence is a contradiction. If your external HDD does not show up in disk manager you can neither or read something. The question which partition table to write can only arise when a disk had been found.
As there is no need to write the partition table during normal disk use the key question is why this partition table information disappeared. This behaviour suggests a health check.
- 4,050