Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2015 01:49:09 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Lenovo BIOS boot fix
Message-ID:  <55A1FFD5.7080008@freebsd.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--81k3rqnsWgE25G6E5TtrmSahiixdNoVV9
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

I have spent my weekend researching why my Lenovo X220s refuse to boot
from GPT partitioned disks.

Based on this mailing list post:
https://lists.freebsd.org/pipermail/freebsd-i386/2013-March/010437.html

I have written a patch for gpart to change the way the PMBR is created.

Instead of writing the 0xee partition in the first slot (offset 0), it
writes it to the 2nd slot (offset 1).

This resolves the issue on my Lenovo X220s, and the installed image
boots fine on my T530, and various other non-lenovo amd64 machines at my
house.

If others could please test this image (it is a pre-installed system, so
just dd it to a memory stick, and see if it boots. Can be safely done
without touching your disks), that would be most helpful.

compressed (193 MiB):
http://www.allanjude.com/bsd/lenovofix_20150704-r285132.img.xz

uncompressed (1 GiB):
http://www.allanjude.com/bsd/lenovofix_20150704-r285132.img


--=20
Allan Jude


--81k3rqnsWgE25G6E5TtrmSahiixdNoVV9
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.0.22 (MingW32)

iQIcBAEBAgAGBQJVof/dAAoJEBmVNT4SmAt+jnEP/0kPYxpEANmu91HFyUGREklo
hLTgKpQ+UwgbbD0aXyu7E459iLzr5jEF+RgRakDsTgWrt4DfH4zCf+G2BR2xRD+9
oGUOmpg35EXVAd0RsbhugcMuZzp3EzgJGGowDqvl/7PErdq1ZIZxyVQ/NuIv8T/t
AYB1qC6B+WJm7PvEB3L30UuBkI8Wl0EdHkE/4iGrgy8nP454NWDhs65fYuBL5rrW
QiLFO7UTpXeE09bdwTJ10XA0RtYewYwPDcpuUPVeFK9M/ESJVoEPHsLCR3sqxCfZ
ziBAQVrFguk+o0xvks9V/N3O9+p84BMbs9tOX7bPRHPSuo7xfE+SPpvINPudjZhz
rW8p+6cHufTt/RR4RS6L0H4ad2Vz/Yw5IwxtwffI3uZ/6Z9I6gU7NfksKJFuEk2h
wckNdSoytKktnjVH1EuQjTf90mNZbgC03rXZcTTS+4JBsZr5SjsklTdPPk0hBA+F
0o1J8WxCEk+GEVvDUdpJVauBLn6642RXEXlyuTUCbqZ+ZxCdN9tzzQQhqiBC8a9l
25Gr6NI5STqfDse77STKA6lxkNmPPpw8YuFDUm45z4o7TeptM29pwIUlZy9Zg1Lf
1YFwgqL2u31obnGNHHUM4tXfpgoGUOqhs74e4fECMtv7inCorNliku2mubwCH8zr
hdboLayfnjoPOlV9C/ST
=g6OW
-----END PGP SIGNATURE-----

--81k3rqnsWgE25G6E5TtrmSahiixdNoVV9--



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