Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jul 2011 14:19:53 +0400
From:      Eir Nym <eirnym@gmail.com>
To:        Berczi Gabor <freebsd@berczi.be>
Cc:        Volodymyr Kostyrko <c.kworr@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: ZFS boot fails with two pools
Message-ID:  <CAO8GK0pDRsLS=Ni0DKe3yWPfW-QMfCKVj1YfBQ=fdMzBsK5=pQ@mail.gmail.com>
In-Reply-To: <D9B54DD4-B0F5-44C4-B3F0-1CF492EBE80F@berczi.be>
References:  <12DA9EAC-8677-49AD-BA6C-5A155D2A6122@berczi.be> <4E14C0D9.9040503@gmail.com> <2040FCF6-2CA2-4CF3-BB78-F5A3069297FF@berczi.be> <4E158846.4040807@gmail.com> <D9B54DD4-B0F5-44C4-B3F0-1CF492EBE80F@berczi.be>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8 July 2011 09:28, Berczi Gabor <freebsd@berczi.be> wrote:
>
> On Jul 7, 2011, at 12:19 PM, Volodymyr Kostyrko wrote:
>
>>>> 2. Try to convince bios to boot from the disk of pool2.
>>>
>>> There is no disk with a singular ZFS pool.
>>
>> Any disk from bootable pool.
>
> Every disk contains two pools. And the BIOS sees only two (maybe three) of them.
>
>>>> 3. You can possibly try deploying /boot/boot0 MBR selector code over disks of data pool. Supplied boot0 code can be used to choose another disk to jump to it during boot process and will remember the last choice.
>>>
>>> I'm not really sure how to do this with GPT. Should I use boot0 instead of pmbr?
>>
>> boot0cfg is your old friend
>
> Cool, how do we get acquinted?
>
>> Actuall I think that code on that stages just tries to boot from the pool on the current disk.
>
> There are two pools on it...
>

gpart(8) can set 'bootme' flag for GPT partition, so there no problem
to specify from which partition to boot.


-- Eir Nym

> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO8GK0pDRsLS=Ni0DKe3yWPfW-QMfCKVj1YfBQ=fdMzBsK5=pQ>