From owner-freebsd-stable@FreeBSD.ORG Fri Sep 20 19:39:17 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 5964DEF4 for ; Fri, 20 Sep 2013 19:39:17 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-pb0-x233.google.com (mail-pb0-x233.google.com [IPv6:2607:f8b0:400e:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2F6FE2CE4 for ; Fri, 20 Sep 2013 19:39:17 +0000 (UTC) Received: by mail-pb0-f51.google.com with SMTP id jt11so771751pbb.10 for ; Fri, 20 Sep 2013 12:39:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=+0VB2NBKa2XrykN1mXKuepv9Se2U6pV+Yuo3Uqc3TB0=; b=zSCGfcydp+skccUE4eth2ATdXz2oCiPJv+WAXBTrboMJnvWnt1k/RIt15Bb0NTYNNb NIA/59GteTQTNIBmWHr0eO4Be67ddk7uiH7Fy9xLS80oLvvAo5XQXyda8hcDEcMNXjyl To+xL+Kxk997O7dQYbX+sAPO6BKNFIANvsVMfuSBY1fLZJQDecps5+L5nozymxEeFbfl TTCekz+m7/SiJtp2uPiHFUJpiMpmisR2fssoaCq3sSkVi2fF2ePf4tIdCp5S16yygXe1 9gqD/epPZsUND3W4M3DhmTx4aAWOKQ3Dbr2bHRhfYlEN3iLgCwJvlzxXUwCV5VUL0SjA ruxw== MIME-Version: 1.0 X-Received: by 10.68.255.229 with SMTP id at5mr9801972pbd.130.1379705956887; Fri, 20 Sep 2013 12:39:16 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.66.219.74 with HTTP; Fri, 20 Sep 2013 12:39:16 -0700 (PDT) In-Reply-To: <523C54D1.70409@gmail.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> <3485DA0E-615F-46DA-8683-C74DF241F512@yahoo.com> <523BBE1F.5070909@FreeBSD.org> <98F04B43-AEE1-4C55-B459-FEBAD8384A0A@yahoo.com> <523C54D1.70409@gmail.com> Date: Fri, 20 Sep 2013 12:39:16 -0700 X-Google-Sender-Auth: P0aa05y2levWayzx36hIFHrbEMA Message-ID: Subject: Re: Rescuing a GPT ZFS boot setup From: Kevin Oberman To: Volodymyr Kostyrko Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-stable@freebsd.org" , Andy Moran 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 19:39:17 -0000 On Fri, Sep 20, 2013 at 6:59 AM, Volodymyr Kostyrko wrote: > 20.09.2013 10:41, Andy Moran wrote: > >> WIth the 10-ALPHA2 LiveCD, I get: >>>> >>>> gpart: attrib 'active': Device not configured >>>> >>>> >>> GPT partitions don't have active attribute. You should omit -i argument. >>> Just run `gpart unset -a active ada0`. >>> >>> -- >>> WBR, Andrey V. Elsukov >>> >>> -- >>> WBR, Andrey V. Elsukov >>> >> >> >> That ran without errors.. but sadly did not solve my problem of the UEFI >> not recognizing it as a bootable disk. I think the problem is my >> particular UEFI doesn't recognize GPT drives that don't have an EFI >> partition on them. >> >> So I gave up. My server has been down for too long. I took half the >> zfs mirror, created it with a MBR partition and installed FreeBSD 9.2 on >> it, and my UEFI can boot it in legacy mode. From there I can mount the >> other half of the mirror and copy files off. A painful process but at >> least I have a way forward. >> > > Please, name your poison on list so that successors can google it in case > someone wants to by the same piece of hardware. For what little it's worth, Lenovo BIOSes that support UEFI and GPT have made the assumption that any GPT partitioned disk is UEFI and fail to see a bootable drive if it is an MBR GPT disk. I have found this fairly easy to work around on my system by having a disk that has traditional partitions with booteasy. I make his my "boot disk" (ada0 with BIOS set to boot from that drive) and then tell booteasy to boot from "Other DIsk". N.B., there is no ZFS involvement here, just working around the boot issue. I should also mention that I received a note that Lenovo may have fixed this in the latest BIOS, but I have not gotten around to testing. -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com