Howto setup multiboot with GPT?
John Hay
jhay at meraka.org.za
Mon Aug 17 16:51:37 UTC 2009
On Mon, Aug 17, 2009 at 09:32:54AM -0400, John Baldwin wrote:
> On Friday 14 August 2009 5:07:49 pm Andrey V. Elsukov wrote:
> > Hi,
> >
> > I have installed 8.0-BETA2 amd64 on ZFS root with GPT. I made addition partition and
> > made new ZFS pool, builded and installed i386 world and kernel to this pool.
> > So, is there some way to select from which partition i want to boot?
>
> Not currently unless you hardcode a specific partition in /boot.config. (You
> may need a patch from jhay@ to fix the parsing of that file though.) I
> believe someone (can't recall who) has some changes in a p4 branch to extend
> gptboot to support a fancier interface with a menu of possible partitions,
> etc.
My patch is only for gptboot (ufs partitions). From what I looked at
gptzfsboot, it only looks at the first pool. You can boot from different
filesystems inside a pool though. You can set that with
zpool set bootfs=pool/dataset
John
--
John Hay -- jhay at meraka.csir.co.za / jhay at FreeBSD.org
More information about the freebsd-hackers
mailing list