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
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --L1fPbPswsckqbCFAD1x4s3aCPtmGfqwmD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12.07.2015 09:02, Allan Jude wrote: > I forgot to include the link to the patch as well: >=20 > http://www.allanjude.com/bsd/lenovofix_gpart.patch >=20 > I will most likely make this patch optional, behind a flag to the 'gpar= t > create -s gpt' command, to avoid potentially breaking existing working > systems, but if using offset 1 works on all other hardware, having it a= s > the default would be nice. >=20 > 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 =3D=3D 0xee && gpt_is_ok()) { UEFI_boot(); } else { MBR_boot(); } --=20 WBR, Andrey V. Elsukov --L1fPbPswsckqbCFAD1x4s3aCPtmGfqwmD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --L1fPbPswsckqbCFAD1x4s3aCPtmGfqwmD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55A2835F.1030004>