From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 17 16:51:37 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6F2F106568D for ; Mon, 17 Aug 2009 16:51:37 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [146.64.24.58]) by mx1.freebsd.org (Postfix) with SMTP id 29C4D8FC69 for ; Mon, 17 Aug 2009 16:51:20 +0000 (UTC) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 36D9B3981D; Mon, 17 Aug 2009 18:32:31 +0200 (SAST) Date: Mon, 17 Aug 2009 18:32:31 +0200 From: John Hay To: "Andrey V. Elsukov" Message-ID: <20090817163230.GA68166@zibbi.meraka.csir.co.za> References: <147751250284069@webmail117.yandex.ru> <200908170932.54700.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200908170932.54700.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-hackers@freebsd.org Subject: Re: Howto setup multiboot with GPT? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2009 16:51:37 -0000 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