gpart rewrites pmbr in a way which breaks Win 7 EFI bootloader

Andrey V. Elsukov bu7cher at yandex.ru
Thu Aug 9 10:57:44 UTC 2012


On 09.08.2012 12:57, Lawrence Stewart wrote:
> After identifying the cause of the problem and a workaround (please see the README.txt at the above
> URL for full details and pre/post gpart dumps of the MBR+GPT), I have the following questions:
> 
> - Should gpart be writing 0x80 (active) in the protective MBR entry?

AFAIK, this was added because some BIOS could not boot without it.

>   - Why is Windows EFI bootloader so sensitive to 0x80 in pmbr?

This question you should ask to the Microsoft. :)

> - Should gpart be silently rewriting the protective MBR entry at all when only asked to make changes
> to the GPT?

The PMBR is part of GPT metadata described in the UEFI spec. So, I think it can.

-- 
WBR, Andrey V. Elsukov



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20120809/0f0f6eef/signature.pgp


More information about the freebsd-fs mailing list