Eir Nym <eir...@gmail.com> writes: > On 8 July 2011 09:28, Berczi Gabor <free...@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.
Doesn't gptzfsboot probe all `freebsd-zfs' partitions irrespective of their boot* attributes? A quick search shows why $ fgrep -ir bootme sys/boot sys/cddl/boot $ grep -wr 'gpt.*(' sys/boot sys/cddl/boot _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"