From owner-freebsd-current@freebsd.org Sun Jul 12 09:34:15 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45914998226 for ; Sun, 12 Jul 2015 09:34:15 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 080081ED; Sun, 12 Jul 2015 09:34:15 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZEDeI-000GVz-FI; Sun, 12 Jul 2015 11:34:14 +0200 Date: Sun, 12 Jul 2015 11:34:14 +0200 From: Kurt Jaeger To: Allan Jude Cc: freebsd-current@freebsd.org Subject: Re: Lenovo BIOS boot fix Message-ID: <20150712093414.GI49099@home.opsec.eu> References: <55A1FFD5.7080008@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55A1FFD5.7080008@freebsd.org> X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jul 2015 09:34:15 -0000 Hi! > 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. I used the image, put it on a stick, and set the BIOS to boot uefi-only or gpt-only and it never booted ? It's early sunday morning, it was a long week, so maybe I just missed something I'm supposed to do ? BIOS is 1.39. -- pi@opsec.eu +49 171 3101372 5 years to go !