From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 17:57:54 2015 Return-Path: Delivered-To: freebsd-questions@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0A3DC148 for ; Wed, 17 Jun 2015 17:57:54 +0000 (UTC) (envelope-from bradleythughes@fastmail.fm) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE7F03FF for ; Wed, 17 Jun 2015 17:57:53 +0000 (UTC) (envelope-from bradleythughes@fastmail.fm) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0776E20417 for ; Wed, 17 Jun 2015 13:57:51 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Wed, 17 Jun 2015 13:57:52 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=kx3T3tQ6N7t3yausy+D1frMjW6I=; b=HitTOX E+dylVKU7vIXpRJjOqGxjUnuHl9zS6r7dxx/QXG0Z3tMSgE9mFuo2A3GePtGZ+k4 kxgwcRM+WoshTGT/NCrdbQ6szFoFLYeV9dc7VRyhKIEE7W2g990QX5THQEuFshOg mbqvlx46P2ebgDSiZI4XWsbrccODUL6xhNbhM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=kx3T3tQ6N7t3yau sy+D1frMjW6I=; b=g53aMNRSSUP0VhQaB9FHiKQ180QZkjVOxvOuL05meZQIP2s 83HefbE63vSQ8G0INXVLxZGG45Sg+R6fSkWKv8avnbQOwTwSSvwkoty2xxNJlJ3+ USks4uxvTsv1bHOb+cIi+ov/DPWiBhBPGnm/p4fABA28TTfag4EuTn9Hiklw= X-Sasl-enc: UVCPjn/qiktOLfJjMT9uCKrbYBBbuEDq+C26E/XLRwwa 1434563871 Received: from [192.168.0.11] (unknown [84.212.193.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 60959C0001C; Wed, 17 Jun 2015 13:57:51 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: ZFS booting from MBR Question From: "Bradley T. Hughes" In-Reply-To: <5718BB29-A9E3-4551-807E-FB9575C1EA04@kraus-haus.org> Date: Wed, 17 Jun 2015 19:57:49 +0200 Cc: FreeBSD Questions Content-Transfer-Encoding: quoted-printable Message-Id: References: <5718BB29-A9E3-4551-807E-FB9575C1EA04@kraus-haus.org> To: Paul Kraus X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 17:57:54 -0000 > On 17 Jun 2015, at 16:32, Paul Kraus wrote: >=20 > I have not been able to find any documentation for how to write all = the components of the boot loader for ZFS/MBR manually. Does someone = here know what bsdinstall is doing under the covers ? >=20 > I am assuming the issue is the phase 1 boot loader on adas1 = partition, but am not sure how to write that correctly, and I am afraid = of overwriting the one good one I have. I recently went looking for the same documentation. The zfsboot(8) = manpage turned out to be what I wanted. It's not in 10.1-RELEASE, but = you can find it in 10.1-STABLE: = https://www.freebsd.org/cgi/man.cgi?query=3Dzfsboot&apropos=3D0&sektion=3D= 0&manpath=3DFreeBSD+10.1-stable&arch=3Ddefault&format=3Dhtml There's instructions on how to install zfsboot(8) on whole disks (what I = wanted) or MBR slices (what you want). Hope that helps :) -- Bradley T. Hughes bradleythughes@fastmail.fm