From owner-freebsd-stable@FreeBSD.ORG Thu Sep 19 16:50:34 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1B0DA85E for ; Thu, 19 Sep 2013 16:50:34 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B55472ABA for ; Thu, 19 Sep 2013 16:50:33 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id r8JGSHjs032726 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Sep 2013 09:28:18 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id r8JGSHY5032725; Thu, 19 Sep 2013 09:28:17 -0700 (PDT) (envelope-from jmg) Date: Thu, 19 Sep 2013 09:28:17 -0700 From: John-Mark Gurney To: Andy Moran Subject: Re: Rescuing a GPT ZFS boot setup Message-ID: <20130919162817.GH14220@funkthat.com> Mail-Followup-To: Andy Moran , Volodymyr Kostyrko , "freebsd-stable@freebsd.org" References: <1379572619.72405.YahooMailNeo@web121302.mail.ne1.yahoo.com> <523AACF8.8080404@gmail.com> <1379598213.765.YahooMailNeo@web121304.mail.ne1.yahoo.com> <523B02F6.4070708@gmail.com> <297B5E1D-40E0-4745-80D3-26EF38A931EC@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <297B5E1D-40E0-4745-80D3-26EF38A931EC@yahoo.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Thu, 19 Sep 2013 09:28:18 -0700 (PDT) Cc: Volodymyr Kostyrko , "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Sep 2013 16:50:34 -0000 Andy Moran wrote this message on Thu, Sep 19, 2013 at 08:12 -0700: > > On Sep 19, 2013, at 6:58 AM, Volodymyr Kostyrko wrote: > > > 19.09.2013 16:43, Andrew Moran wrote: > >> Alas, that did not work. But it does look to be BIOS related. > >> > >> I think this new system has a UEFI bios. > >> > >> I just read from https://wiki.freebsd.org/UEFI: > >> * Partitions not seen. When using GPT, FreeBSD will create a protective MBR. This MBR has one partition entry covering the whole disk. FreeBSD marks this partition active. This causes at least some UEFI implementations to ignore the GPT. To fix this the partition needs to be marked inactive. > >> * Filesystem not seen. FreeBSD's FAT32 code appears to sometimes create filesystems that the UEFI code can't properly read. If the filesystem is small enough, use FAT16 or FAT12 instead. > >> > >> I think this may be my issue. But 9.1 LiveCD does boot and I can see the data once booted, so there must be a way to fix the boot loader on the drive to work. > > > > Good catch. The fix landed in stable not so long ago (http://svnweb.freebsd.org/base?view=revision&revision=255017) so you wouldn't find it in 9.2 either. Can you try this: > > > > gpart unset -a active ada0 > > > It says 'active' is an invalid attribute. This matches what gpart mangpage says under ATTRIBUTES .. it doesn't list 'active' as an attribute for the GPT partition scheme (but it does for other schemes). I did try to unset 'bootme' but that did not help either. > > Do I need the newer version of gpart to be able to unset or set it? You could try the new 10-ALPHA1 LiveCD to unset it.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."