On Thu, May 30, 2019 at 4:00 PM Chris Murphy lists@colorremedies.com wrote:
I'm pretty sure (been a while since I checked) that neither the bootloader nor kernel care if the primary GPT header or table fail checksum verification, they just use it in the blind anyway. No fallback to the backup. And no fail. That's kindof annoying.
Nice. I'm right and wrong at the same time. https://bugzilla.kernel.org/show_bug.cgi?id=63591
If that behavior is still the case (more than five years after I filed the bug), the kernel will faceplant upon discovery of a corrupt primary GPT. Now, the only two ways I got that far is if GRUB didn't care about the corruption, or it used the backup GPT. To force the kernel to use the backup, the 'gpt' parameter needs to be used (haha yeah that's not confusing at all, nosiree).