Results 1 to 2 of 2

Thread: Issue with GPT backup header

  1. #1
    Join Date
    Apr 2008
    Location
    Bundaberg, Qld
    Beans
    164
    Distro
    Ubuntu 20.04 Focal Fossa

    Issue with GPT backup header

    Having probs with the GPT header on an SSD in a laptop.
    Have used gdisk to try and fix, but doesn't seem to be. The output when I run gdisk is:
    Code:
    GPT fdisk (gdisk) version 1.0.8
    
    Type device filename, or press <Enter> to exit: /dev/sda
    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.
    ****************************************************************************
    Have already used gdisk, and run on /dev/sda, with options:
    r
    d
    e
    v
    w

    Still getting the above message.
    What am I doing wrong?
    Thanks.
    Ubuntu 22.04 / Opensuse Tumbleweed
    i5 / 16GB
    Onboard graphic/sound

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Issue with GPT backup header

    I use a different sequence of commands for gdisk in the shellscript gpt-fix. You can use it as it is or borrow the sequence of commands and run them manually in gdisk. Good luck

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •