From owner-freebsd-questions@FreeBSD.ORG Sat Feb 22 23:08:08 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D81A64BE for ; Sat, 22 Feb 2014 23:08:08 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7CDE31682 for ; Sat, 22 Feb 2014 23:08:08 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.8/8.14.8) with ESMTP id s1MN86Jm088535 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 22 Feb 2014 16:08:06 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s1MN860f088532; Sat, 22 Feb 2014 16:08:06 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 22 Feb 2014 16:08:06 -0700 (MST) From: Warren Block To: Jens Schweikhardt Subject: Re: How to boot multiple FreeBSD systems (GPT, ZFS)? In-Reply-To: <20140222211545.GA16305@schweikhardt.net> Message-ID: References: <20140222211545.GA16305@schweikhardt.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sat, 22 Feb 2014 16:08:06 -0700 (MST) Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Feb 2014 23:08:08 -0000 On Sat, 22 Feb 2014, Jens Schweikhardt wrote: > hello, world\n > > in the good old days of MBR the FreeBSD bootblock would let me > select one of several root partitions to boot from with a prompt like > F1 FreeBSD > F2 FreeBSD > F3 FreeBSD > > Those times are gone; the new kids on the block are GPT partitioned > disks and ZFS. I've read many man pages and articles on the net on using > gpart, gptzfsboot, bios-boot partition, separate mini boot partition, > setting up a root on ZFS system, and others. The part where I'm having > difficulties is: which program lets me do the selection? > ***No, I can't use grub or grub2.*** Syslinux? Probably not, but thought I'd mention it. If choosing after boot is adequate, see sysutils/beadm. > Can anyone outline how to partition and install a system that lets > me select at boot time which of several ZFS root file systems to boot? > I'm fine with the big picture and can figure out the details myself. Does the pool/filesystem choice need to be presented by a menu, or is typing in an already-known value good enough? Consider also VMs with VirtualBox or bhyve, using zvols for disk.