Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2013 12:39:16 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>, Andy Moran <amoran@yahoo.com>
Subject:   Re: Rescuing a GPT ZFS boot setup
Message-ID:  <CAN6yY1uiTUr5qkEuCVVTcRd6gM_SEPGv0sCBe8FSmkajSm4FkA@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 20, 2013 at 6:59 AM, Volodymyr Kostyrko <c.kworr@gmail.com>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1uiTUr5qkEuCVVTcRd6gM_SEPGv0sCBe8FSmkajSm4FkA>