Date: Mon, 13 Jul 2015 13:35:14 -0400 From: Allan Jude <allanjude@freebsd.org> To: Adrian Chadd <adrian.chadd@gmail.com> Cc: Warren Block <wblock@wonkity.com>, Hans Ottevanger <hans@beastielabs.net>, "Andrey V. Elsukov" <bu7cher@yandex.ru>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: Lenovo BIOS boot fix Message-ID: <55A3F6D2.70505@freebsd.org> In-Reply-To: <CAJ-Vmo=ofDKa5cUsEQh%2B=9CzOPN80yEQQL2meGRcZDW3Qeq2wQ@mail.gmail.com> References: <55A1FFD5.7080008@freebsd.org> <55A2030B.7010405@freebsd.org> <55A2835F.1030004@yandex.ru> <55A2ACDD.408@freebsd.org> <55A36FBE.1020206@beastielabs.net> <55A3D01E.40102@freebsd.org> <alpine.BSF.2.20.1507130915250.56039@wonkity.com> <55A3DF26.5020602@freebsd.org> <CAJ-Vmo=ofDKa5cUsEQh%2B=9CzOPN80yEQQL2meGRcZDW3Qeq2wQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2015-07-13 13:19, Adrian Chadd wrote: > I'm really confused. Why is the active flag not set again? > > I thought that was the whole point of the active flag in the partition table. > > > -a > Not that it counts much, but windows does not set the active flag in its pMBR. I was under the impression the standard says that it should not be set, as anything actually examining the pMBR as if it were an MBR, obviously doesn't support GPT. I've heard reports that GPT partitions with the active flag set, will not boot properly under UEFI. At this point, I am not sure whether it should be set or not. This fix is for the Lenovo's with the broken BIOS. It moves the 0xee partition in the pMBR to the 2nd slot instead of the first. This does not seem to break any previously working hardware, and it makes the Lenovo's work. I have a patch: https://reviews.freebsd.org/D3065 that adds an option to gpart create to a pMBR with this fix applied. If this gets committed, I can add 'GPT + Lenovo Fix' as an option during the installer. I already plan to add 'GPT + Active' for people like Colin Percival, who have a Dell or HP that seems to complain if the active flag is missing. Windows avoids these issues by entirely refusing to boot from a GPT partitioned disk without UEFI, even though there is no such requirement. -- Allan Jude
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55A3F6D2.70505>