From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 20 18:06:45 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 93CE61065690; Thu, 20 Aug 2009 18:06:45 +0000 (UTC) (envelope-from simon@nitro.dk) Received: from mx.nitro.dk (zarniwoop.nitro.dk [83.92.207.38]) by mx1.freebsd.org (Postfix) with ESMTP id 521EA8FC16; Thu, 20 Aug 2009 18:06:45 +0000 (UTC) Received: from arthur.nitro.dk (arthur.bofh [192.168.2.3]) by mx.nitro.dk (Postfix) with ESMTP id 21B3A2D48D7; Thu, 20 Aug 2009 18:06:44 +0000 (UTC) Received: by arthur.nitro.dk (Postfix, from userid 1000) id E3F045C13; Thu, 20 Aug 2009 20:06:43 +0200 (CEST) Date: Thu, 20 Aug 2009 20:06:43 +0200 From: "Simon L. Nielsen" To: John Baldwin Message-ID: <20090820180643.GA1243@arthur.nitro.dk> 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.5.20 (2009-06-14) Cc: freebsd-hackers@freebsd.org, "Andrey V. Elsukov" 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: Thu, 20 Aug 2009 18:06:45 -0000 On 2009.08.17 09:32:54 -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. I have been playing around with gptboot, but it's not ready for any kind of general use yet. So far I parse and print the complete partition table and has the start of a framework to configure gptboot directly similar to boot0cfg. One of the first features I plan to have working is to be able to select which partition to boot, but it's not the main goal - that's nextboot like functionality. The WIP can be find in FreeBSD.org perforce at //depot/user/simon/gptboot/... AKA http://p4web.freebsd.org/@md=d&cd=//depot/user/simon/gptboot/&c=2qs@//depot/user/simon/gptboot/?ac=83 -- Simon L. Nielsen