I was using the root account to wipe some drives and was using sgdisk to copy over the GPT partition table from
Code: Select all
/dev/sdc
Code: Select all
/dev/sdd
The command was
Code: Select all
sgdisk -R /dev/sdd /dev/sdc
Code: Select all
sgdisk -G /dev/sdd
It turns out that the partition that was to be written to /dev/sdd is now written on /dev/sda.
I found my old partition (Intel-type) through testdisk and wrote it to the disk and after a reboot, testdisk still identifies it as gpt, and not intel. I tried writing it again, and it gave me the same result.
gpt table, still on the disk:
Code: Select all
https://i.imgur.com/cw8DZn3.jpg
Code: Select all
https://i.imgur.com/6ZajNbG.jpg
I also tried flashing the testdisk MBR, but no dice, it gave me no result on any of the four numbers.