From owner-freebsd-questions@freebsd.org Fri Nov 18 01:18:28 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 D03DEC4635E for ; Fri, 18 Nov 2016 01:18:28 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cdptpa-oedge", Issuer "cdptpa-oedge" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9767BC73 for ; Fri, 18 Nov 2016 01:18:27 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [76.181.114.47] ([76.181.114.47:55831] helo=raspberrypi.bildanet.com) by cdptpa-omsmta03 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 42/20-04822-2E65E285; Fri, 18 Nov 2016 01:18:26 +0000 Received: from [192.168.1.41] (helo=dell.example.org) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1c7Xov-0001IZ-Tc for freebsd-questions@freebsd.org; Thu, 17 Nov 2016 20:18:25 -0500 Subject: Re: Ok How do I boot this monster? References: <07218d20-34a5-171b-f6a8-de3c271733cc@columbus.rr.com> <575baf45-b23d-163f-79b0-213a6ba51c91@columbus.rr.com> <86eg29x1on.fsf@WorkBox.homestead.org> To: freebsd-questions@freebsd.org From: Baho Utot Message-ID: <2dd830e0-88f8-dee1-3947-f656b84e92ee@columbus.rr.com> Date: Thu, 17 Nov 2016 20:18:25 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.88:25 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: Fri, 18 Nov 2016 01:18:28 -0000 On 11/17/16 18:49, Warren Block wrote: > 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. bsdinstall put those freebsd-boot partitions there > >> 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. bsdinstall created all the partitions on the four drives exactly all the same. I tried booting to each of them using the "at boot hit the F8 key" ( which brings up a menu of drives to boot from ) and they all booted to the zfs raid system. There was a message saying something about an lba problem but I don't remember what it said. Yes I am too old to remember and I have CRS ( Can't Remember Shit ). When I reboot the machine ( can't do that now... it's busy ) I will try to write the message down.