Follow-up Comment #2, bug #46716 (project grub):

OK, Tiano Core validates the protective partition as follows:

  //
  // Verify that the Protective MBR is valid
  //
  for (Index = 0; Index < MAX_MBR_PARTITIONS; Index++) {
    if (ProtectiveMbr->Partition[Index].BootIndicator == 0x00 &&
        ProtectiveMbr->Partition[Index].OSIndicator == PMBR_GPT_PARTITION &&
        UNPACK_UINT32 (ProtectiveMbr->Partition[Index].StartingLBA) == 1
        ) {
      break;
    }
  }
  if (Index == MAX_MBR_PARTITIONS) {
    goto Done;  // i.e. not valid
  }

So here is an alternative suggestion: don't mark the protective partition,
create another dummy MBR partition of type 0x00, mark it as bootable.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46716>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to