cross-posted from: https://lemmy.ml/post/31633930
My disk was dos labelled (MBR). So I ‘fdisk’-ed my disk and entered ‘o’ to convert it to GPT and wrote it to the disk. Now all the partitions are gone. I want those back. I care about the data rather than the partitions
If you know the offsets and sizes of the partitions that you used to have, then you can just recreate them in your new partition table. The filesystems are still where you left them, so once the partition table is reconstructed, everything should start working again.
If you don’t know that info, I am not sure what you do. Some kind of recovery utility could probably find your data without too much issue, but I am not too familiar with the current state of disk recovery tools.
Thanks. I used testdisk