Hi,
mick.crane wrote:
root@courgette:/home/mick# gdisk /dev/sda
...
Caution: invalid backup GPT header, but valid main header;
regenerating
backup header from main header.
...
OK; writing new GUID partition table (GPT) to /dev/sda.
...
The operation has completed successfully.
...
root@courgette:/home/mick# gdisk /dev/sda
...
Warning! One or more CRCs don't match. You should repair the disk!
Main header: OK
Backup header: ERROR
Main partition table: OK
Backup partition table: OK
That's strange. Can it be that the last block of the disk is bad ?
Please post the content of that block.
Refering to info from your initial post
Units: sectors of 1 * 512 = 512 bytes
Disk /dev/sda: 111.79 GiB, 120034123776 bytes, 234441648 sectors
this would be
sudo dd bs=512 count=1 if=/dev/sda skip=234441647 | \
od -t x1 >/tmp/gpt_backup_header.hex