Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2015 18:10:23 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Allan Jude <allanjude@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: Lenovo BIOS boot fix
Message-ID:  <55A2835F.1030004@yandex.ru>
In-Reply-To: <55A2030B.7010405@freebsd.org>
References:  <55A1FFD5.7080008@freebsd.org> <55A2030B.7010405@freebsd.org>

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

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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJVooNfAAoJEAHF6gQQyKF6jxYH/i3kHDXiyz8NwlNvYupkTjrM
CNTqECUZdbDDkV/kRc+D9/5xA/7UNLT1kA5wxgnHryz7+oBIXR4lXXjjNh2CKX4d
qMD+FWAk2XEhDoN/qW10/HwOAdYuKrWlCeo2aek6WqzsY0ixD4M4apqB/t9lsr/D
aNn/Tdp5mijD7XRDLRMk688sF95DvnMGNtJn+sYBDSb6GnuVkHaXf5pkSSWA5QBv
GQdqwQtaXrmd7Mo55XB6LYmCKoUNEDa4rOsKJsxv5bpkoxeXgT35o1Ts8II7zvaI
E55M3FFL/bOc2uNG2XZ/8rZQ2ABW2sK4YabMOIuhiZ1NNMsXwp9zpFeJgmPcpt0=
=qoIk
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55A2835F.1030004>