From owner-freebsd-stable@FreeBSD.ORG Fri Sep 20 02:35:00 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 12C26575 for ; Fri, 20 Sep 2013 02:35:00 +0000 (UTC) (envelope-from amoran@yahoo.com) Received: from nm46-vm2.bullet.mail.gq1.yahoo.com (nm46-vm2.bullet.mail.gq1.yahoo.com [67.195.87.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D5449272D for ; Fri, 20 Sep 2013 02:34:59 +0000 (UTC) Received: from [98.137.12.190] by nm46.bullet.mail.gq1.yahoo.com with NNFMP; 20 Sep 2013 02:34:52 -0000 Received: from [208.71.42.212] by tm11.bullet.mail.gq1.yahoo.com with NNFMP; 20 Sep 2013 02:34:52 -0000 Received: from [127.0.0.1] by smtp223.mail.gq1.yahoo.com with NNFMP; 20 Sep 2013 02:34:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1379644492; bh=V4GzeNZQquh5WxPc8CmU6MY7cETfCQflfqx5FLEEIeY=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Message-Id:References:To:X-Mailer; b=baSJibocFs1x6b+88cZlXEUm5rjOiYamYnUvFvbiZkcVZbecaIM1Tz4t+zBPiojtxOKIsCbxeo1BMByGZ0NlC0lQbASsKmCXuzmIxywVKBsRYEFhSlyVeY9SGcxDgrVvAGgEX2pwhuURPC3MDW+KyJg04AM9vCy9PHulVc4p+eQ= X-Yahoo-Newman-Id: 924346.93378.bm@smtp223.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 2uvHxpsVM1mlSfhU1G2nwRlXn_d4Y00uaZ.0Cncdf21rjtW CF3gIzOsyUYyt0CUaG2FjfATCeWYT3xDh9sa9gt9_YYx4rH9fW1PpYBdl65l tlHS2mvfoSPqRMgsIa7dqFumzFpnZtl0dvEQhoOVNI.eiovUXG6b61VhxMIx fSNlsGvK72AAtGW.V8OujEGNgvQCYTlz8iyZXb_SOffvwUpTkdM2rTfI.LYY Rcz9j9Na8ul_w3ojGy3hfrS0VI9msb5jZuwVpwztrNxM__2zgABHtVQPx4YI VvMXRCv7GYlyEKxbLeQ6BwkV1mKxDGjE.Q74FqbDiekqPL7_BaSHyMs6P7Lk azuo9O_Wdc_NAzJEGMRaJO4Df2TBBmwlR_Xh8abYLn4gHSkfTNk_HsqzmGvv Y6aDqlY8ISmnqn4OePIvL.Zny3ospzsux0IxVik4dzeGvelpHXGRvU.ajH6e wjHS2ZKrJxxt.07DQMxS7nINOZxbyKOzGt20qCyaKY38RFjzJ.PHxtoKmzpO MvNVm2F2T.E1ChJBcHPcvZD2Y2f8rlP1KFahVoC7XyhaWagNtjMNu.kLuorV JhVsD5hz074FTPJglFs7.BqPfOFYA7kgDjwIo278ylUewp6DYtJOodg2iSdT _.Qk- X-Yahoo-SMTP: VuaopNeswBCIHgj8aYlf29fZkA-- X-Rocket-Received: from [10.0.1.37] (amoran@173.13.138.197 with ) by smtp223.mail.gq1.yahoo.com with SMTP; 20 Sep 2013 02:34:52 +0000 UTC Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: Rescuing a GPT ZFS boot setup From: Andy Moran In-Reply-To: <20130919162817.GH14220@funkthat.com> Date: Thu, 19 Sep 2013 19:34:51 -0700 Message-Id: <3485DA0E-615F-46DA-8683-C74DF241F512@yahoo.com> 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> <20130919162817.GH14220@funkthat.com> To: John-Mark Gurney X-Mailer: Apple Mail (2.1510) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Fri, 20 Sep 2013 02:35:00 -0000 On Sep 19, 2013, at 9:28 AM, John-Mark Gurney wrote: > Andy Moran wrote this message on Thu, Sep 19, 2013 at 08:12 -0700: >>=20 >> On Sep 19, 2013, at 6:58 AM, Volodymyr Kostyrko = wrote: >>=20 >>> 19.09.2013 16:43, Andrew Moran wrote: >>>> Alas, that did not work. But it does look to be BIOS related. >>>>=20 >>>> I think this new system has a UEFI bios. >>>>=20 >>>> 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. >>>>=20 >>>> 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. >>>=20 >>> Good catch. The fix landed in stable not so long ago = (http://svnweb.freebsd.org/base?view=3Drevision&revision=3D255017) so = you wouldn't find it in 9.2 either. Can you try this: >>>=20 >>> gpart unset -a active ada0 >>=20 >>=20 >> 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. =20 >>=20 >> Do I need the newer version of gpart to be able to unset or set it? >=20 > You could try the new 10-ALPHA1 LiveCD to unset it.. >=20 > --=20 WIth the 10-ALPHA2 LiveCD, I get: gpart: attrib 'active': Device not configured I can set/unset the bootme attribute and I can do: gpart bootcode -b = /boot/pmbr -p /boot/gptzfsboot -i ada0=20 But neither seems to get me out of my jam -- the UEFI doesn't seem to = see it as a bootable disk. :( --Andy =20=