Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 2009 18:32:31 +0200
From:      John Hay <jhay@meraka.org.za>
To:        "Andrey V. Elsukov" <bu7cher@yandex.ru>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Howto setup multiboot with GPT?
Message-ID:  <20090817163230.GA68166@zibbi.meraka.csir.co.za>
In-Reply-To: <200908170932.54700.jhb@freebsd.org>
References:  <147751250284069@webmail117.yandex.ru> <200908170932.54700.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@meraka.csir.co.za / jhay@FreeBSD.org



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