Cannot get past GDISK- Caution: Invalid backup GPT header, but valid main header, regenerating backup header from main header.
by murde from LinuxQuestions.org on (#52FMC)
Greetings..I am moving 3 simple configuration Dell workstations (T3600,T7600,T7610) from Win7 to some Linux if I can find one to work. All computers have 32-128GB ram, a single SATA HDD 250 - 1000GB, no RAID, plugged directly into motherboard. The only adapter card present in these systems is a simple Nvidia PCIe graphics card. I am free to trash anything to get this to work.
All 3 computes have exactly the same problem, so at least I am consistent with whatever I am doing wrong.
The problem happens on latest live media, legacy or EFI boot, as well as on Linux I install.
KDE partitioner, gparted, and gdisk all show same error.
In gdisk the message also says it rebuilt the backup gpt, so I sometimes pressed 'w' to write it. That works great until I reboot, wherein the problem again emerges.
With any live media (MX, OpenSuse, Mint, etc.) all I have to do is create a partition table & the problem will happen at next reboot when I run any of the mentioned partitioning tools, or if I let the Linux installer run & I boot from HDD.
This will show the error on any computer: gdisk /dev/sda
I tried removing all partitions & rebooting the live disc, then creating new partitions (or even just one), but as soon as I create a partition table I know that at next boot of the live disc that the error will happen, on all 3 computers.
I did this: dd if=/dev/zero of=/dev/sda
After a few hours it was done, but creating a partition table on it still gives the error at the next reboot. Same with new hard drives.
I am completely stopped in my tracks at this point. I have searched everywhere for a solution, but nothing at all works. What am I doing wrong here?


All 3 computes have exactly the same problem, so at least I am consistent with whatever I am doing wrong.
The problem happens on latest live media, legacy or EFI boot, as well as on Linux I install.
KDE partitioner, gparted, and gdisk all show same error.
In gdisk the message also says it rebuilt the backup gpt, so I sometimes pressed 'w' to write it. That works great until I reboot, wherein the problem again emerges.
With any live media (MX, OpenSuse, Mint, etc.) all I have to do is create a partition table & the problem will happen at next reboot when I run any of the mentioned partitioning tools, or if I let the Linux installer run & I boot from HDD.
This will show the error on any computer: gdisk /dev/sda
I tried removing all partitions & rebooting the live disc, then creating new partitions (or even just one), but as soon as I create a partition table I know that at next boot of the live disc that the error will happen, on all 3 computers.
I did this: dd if=/dev/zero of=/dev/sda
After a few hours it was done, but creating a partition table on it still gives the error at the next reboot. Same with new hard drives.
I am completely stopped in my tracks at this point. I have searched everywhere for a solution, but nothing at all works. What am I doing wrong here?