[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: The backup GPT table is corrupt



On Wed 13 Aug 2025 at 19:40:07 (+0100), mick.crane wrote:

> root@courgette:/home/mick# gdisk -l /dev/sda
> GPT fdisk (gdisk) version 1.0.9
> 
> Caution: invalid backup GPT header, but valid main header; regenerating
> backup header from main header.
> 
> 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
> 
> Partition table scan:
>   MBR: protective
>   BSD: not present
>   APM: not present
>   GPT: damaged
> 
> ****************************************************************************
> Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT,
> but disk
> verification and recovery are STRONGLY recommended.
> ****************************************************************************
> Disk /dev/sda: 234441648 sectors, 111.8 GiB
> Model: V Series SATA SS
> Sector size (logical/physical): 512/512 bytes
> Disk identifier (GUID): CEC0C0B6-A933-426A-921B-04BDA99E808B
> Partition table holds up to 128 entries
> Main partition table begins at sector 2 and ends at sector 33
> First usable sector is 34, last usable sector is 234441614
> Partitions will be aligned on 2048-sector boundaries
> Total free space is 2925 sectors (1.4 MiB)
> 
> Number  Start (sector)    End (sector)  Size       Code  Name
>    1            2048         1050623   512.0 MiB   EF00
>    2         1050624       232441855   110.3 GiB   8300
>    3       232441856       234440703   976.0 MiB   8200
> root@courgette:/home/mick#
> 
> There's just the one OS on this disk. Possibly my changing the disk
> from MBR to GPT caused some error.

It's quite likely that the last 34 sectors of the disk were never
written or read when the format was MBR, so you wouldn't know whether
the error had been present or not.

Cheers,
David.


Reply to: