Re: ZFS boot fails with two pools

From: Eir Nym <eirnym_at_gmail.com>
Date: Sat, 9 Jul 2011 14:19:53 +0400
On 8 July 2011 09:28, Berczi Gabor <freebsd_at_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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Sat Jul 09 2011 - 08:20:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:15 UTC