Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Aug 2012 14:57:31 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Lawrence Stewart <lstewart@freebsd.org>
Cc:        "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org>, Marcel Moolenaar <marcel@FreeBSD.org>
Subject:   Re: gpart rewrites pmbr in a way which breaks Win 7 EFI bootloader
Message-ID:  <5023979B.4010903@yandex.ru>
In-Reply-To: <50237B73.9040301@freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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




[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iQEcBAEBAgAGBQJQI5egAAoJEAHF6gQQyKF6QvgH/iPjNJAIYAUuEAa07+mN+TA5
flaGVh3IAYPX6azxkbntjQ3UHmSn9supba+6hLNfMrgNOYdmKdntfFL1WVJR8Tah
lkmThWSV5IeLZM/L41G8k4bPe0cwGHhxupYqzG6pddMZamK8pNm2ERsZUBtSYidi
L75ZvR3VTfl5lvRmKMzAZ5pKBjFsDBUVh3XMQ6HzZpGvIwH86t1mmZuspZSIr/Kf
P65GZUFiNOOJ02xVjKIQR8ljJQM1BnMZ8K8qIurIvK+xaZVRn06EdgvGSJgDSZgX
ibG8icV2apwON/trxst0cYXaOlP+CCEJr9H/SStJ8L1mtAN3NS6Tagez16sTEkM=
=hjMX
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5023979B.4010903>