From owner-freebsd-questions@FreeBSD.ORG Wed Jul 23 14:32:40 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BAF8F465 for ; Wed, 23 Jul 2014 14:32:40 +0000 (UTC) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) (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 396E1226D for ; Wed, 23 Jul 2014 14:32:39 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.7/8.14.5) with ESMTP id s6NEWaRh045805; Wed, 23 Jul 2014 15:32:37 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <53CFC784.4060403@qeng-ho.org> Date: Wed, 23 Jul 2014 15:32:36 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: David Benfell , freebsd-questions@freebsd.org Subject: Re: UEFI boot on 10.0 STABLE? References: <20140722184900.917B012C017A@mail.parts-unknown.org> In-Reply-To: <20140722184900.917B012C017A@mail.parts-unknown.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2014 14:32:40 -0000 On 22/07/2014 19:48, David Benfell wrote: > Hi all, > > The way I'm booting into FreeBSD right now is far from ideal. For what > it's worth, this is an Asus X202e notebook. > > What I'm doing now is using a Debian kFreeBSD disk to get to grub. It > has an option to boot from the first hard disk. That's literally all I > need to boot FreeBSD. I'm presently using legacy BIOS emulation to boot > the kFreeBSD disk but its a GPT disk. > > I also needed legacy mode to boot the FreeBSD installation disk so I > could even install FreeBSD. > > I did create an additional EFI partition at the beginning of the disk, > modifying the default install. > > What I'm seeing now looks kind of like a chicken-and-egg problem. I > tried installing grub-efi-amd64 but it fails to work the appropriate > magic and cast the appropriate spell. I suspect because the disk is GPT > running under legacy mode. > > I also tried rEFInd which has helped enormously with previous linux > installations. No joy this time. > > I've now blown both grub-efi and rEFInd away on the theory that I need > to start fresh. > > It looks like code to deal with UEFI has been merged in to HEAD (a > statement that doesn't actually mean all that much to me) and I *am* at > this moment trying to upgrade from 10.0 RELEASE to STABLE. Is needed > code in STABLE (and not in RELEASE)? > > Has anyone found a path through this? Where/what is it? Should I just > wait for 10.1? I've just spent an hour or two looking through the UEFI relevant bits of the svn repository as I've acquired a new box with UEFI. As you say, the UEFI boot code has been merged in HEAD. HEAD is another way to refer to FreeBSD-CURRENT, which the Handbook describes as > FreeBSD-CURRENT is the “bleeding edge” of FreeBSD development and > FreeBSD-CURRENT users are expected to have a high degree of technical > skill. Less technical users who wish to track a development branch > should track FreeBSD-STABLE instead. aka "here be dragons". As far as I can see, UEFI booting has not yet been merged into 10-STABLE, so no luck there. However various people have reported on both the mailing lists and the forums that legacy booting works for 10.0. The gotcha for Asus kit appears to be the fact that if you've got a GPT formatted disk, you have to set the active flag on the protective MBR in order to get legacy booting working. MBR formatted disks just work. Take a look at this forum thread for more information https://forums.freebsd.org/viewtopic.php?t=42781 As for whether 10.1 will have UEFI booting, that's way over my pay grade, but I hope it does. I've not found anything about what 10.1 will contain yet, and it's at least 4 months off. http://www.freebsd.org/releases/10.1R/schedule.html