From owner-freebsd-questions@freebsd.org Thu Nov 17 23:49:46 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09823C473BB for ; Thu, 17 Nov 2016 23:49:46 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CD80F1AE0 for ; Thu, 17 Nov 2016 23:49:45 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id uAHNneLe020410 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 17 Nov 2016 16:49:40 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id uAHNneU5020407; Thu, 17 Nov 2016 16:49:40 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 17 Nov 2016 16:49:40 -0700 (MST) From: Warren Block To: "Brandon J. Wandersee" cc: Baho Utot , freebsd-questions@freebsd.org Subject: Re: Ok How do I boot this monster? In-Reply-To: <86eg29x1on.fsf@WorkBox.homestead.org> Message-ID: References: <07218d20-34a5-171b-f6a8-de3c271733cc@columbus.rr.com> <575baf45-b23d-163f-79b0-213a6ba51c91@columbus.rr.com> <86eg29x1on.fsf@WorkBox.homestead.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.1 (wonkity.com [127.0.0.1]); Thu, 17 Nov 2016 16:49:40 -0700 (MST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2016 23:49:46 -0000 On Thu, 17 Nov 2016, Brandon J. Wandersee wrote: > I would recommend just using gpart(8) to install the correct bootcode > (/boot/gptzfsboot) as Warren suggested. The trouble, though, is > that---unless I'm mistaken---that bootcode requires a dedicated > partition. It does, but there was a freebsd-boot partition on each of the ZFS disks. 512K, even, so more than large enough for the current version of gptzfsboot. > Configuring the system to boot would require 128k partitions > to be created at the start of each disk to hold the bootcode, and that > would mean either manually partitioning the drives (which is the typical > way of installing to a custom ZFS setup) or writing more code into your > custom bsdinstall. We might have been looking at different disks in that gpart output. Incidentally, while the boot partition is usually first, I'm fairly sure that it does not have to be first and can be in any position.