
On 25/10/16 22:06, Lennart Sorensen via talk wrote:
Luckily gpt has two copies. One at the start of the disk and one at the end.
Any gpt compatible partition tool should actually offer to copy the backup from the end of the device.
<snip>
Found valid GPT with protective MBR; using GPT. Disk /dev/loop0: 204800 sectors, 100.0 MiB Logical sector size: 512 bytes Disk identifier (GUID): 5946A311-C895-4DAE-94CF-9C96EB8E14C1 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 204766 Partitions will be aligned on 2048-sector boundaries Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name 1 2048 204766 99.0 MiB 8300 Linux filesystem
So seems simple enough to recover the partition table from the backup.
You've outdone yourself and all of us. I had no idea about that backup GPT location. Maybe I should learn to appreciate GPT a little more? TIL!