Lenovo BIOS boot fix
Andrey V. Elsukov
bu7cher at yandex.ru
Sun Jul 12 15:10:51 UTC 2015
On 12.07.2015 09:02, Allan Jude wrote:
> I forgot to include the link to the patch as well:
>
> http://www.allanjude.com/bsd/lenovofix_gpart.patch
>
> I will most likely make this patch optional, behind a flag to the 'gpart
> create -s gpt' command, to avoid potentially breaking existing working
> systems, but if using offset 1 works on all other hardware, having it as
> the default would be nice.
>
> Another option would be to make a separate standalone program to modify
> the pMBR for Lenovo machines, rather than modifying gpart.
Hi,
I think Lenovo's BIOS just think that your partition layout is MBR and
uses legacy boot.
if (MBR_partition[0].type == 0xee && gpt_is_ok()) {
UEFI_boot();
} else {
MBR_boot();
}
--
WBR, Andrey V. Elsukov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 538 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150712/f0d454fd/attachment.bin>
More information about the freebsd-current
mailing list