From owner-freebsd-current@FreeBSD.ORG Fri Dec 27 17:28:26 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03BAC606; Fri, 27 Dec 2013 17:28:26 +0000 (UTC) Received: from mail-ve0-x22b.google.com (mail-ve0-x22b.google.com [IPv6:2607:f8b0:400c:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 86EAE109D; Fri, 27 Dec 2013 17:28:25 +0000 (UTC) Received: by mail-ve0-f171.google.com with SMTP id pa12so5066962veb.30 for ; Fri, 27 Dec 2013 09:28:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OGXX4jsdWLimgMcT0DrHFS3oJ93bqxb4gJ1m4Zq2odE=; b=FjuY056YfpJdNGA5yvivATSlKvOfRE71MvOrGX+/1ppXILY8CYrg0KDWRzVsdx/nld 5XvTBeLsug7hr5fQGyH3TZsB0VyDljlH2Uq8xXeWHHFOQMArlQrdy1mxcEPCEJOngKSs W641XgmugZcjwcDMkP9oZs/w0dlUu29qhcm/ONPqVi4kK0aHNUAyrUEH0D0vJ4UlOrho eufRct5pphLY4c6KQ8mu29BZ4WRzwfiJlSi1+vif6MW315gTKPpLK4kJUsn9DcPj+OtH i8usTTsJpw8Ek7cWEivIfMjm737kX22NwaA6QwA0tDXLuDc1SaX6+JGghZg7us85qnrW iTig== MIME-Version: 1.0 X-Received: by 10.58.231.4 with SMTP id tc4mr4066747vec.30.1388165303744; Fri, 27 Dec 2013 09:28:23 -0800 (PST) Received: by 10.58.165.2 with HTTP; Fri, 27 Dec 2013 09:28:23 -0800 (PST) In-Reply-To: References: <20131226162521.GK2009@glenbarber.us> <20131226212158.GD13109@glenbarber.us> <2F6DABD655B7C3230EC0F15D@ogg.in.absolight.net> <38B0C411B75D7482B92033D2@ogg.in.absolight.net> Date: Fri, 27 Dec 2013 12:28:23 -0500 Message-ID: Subject: Re: FreeBSD 10.0-RC3 Now Available From: Thomas Hoffmann To: Scot Hetzel Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: Warren Block , Mathieu Arnold , freebsd-current , FreeBSD Stable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2013 17:28:26 -0000 On Fri, Dec 27, 2013 at 12:15 PM, Scot Hetzel wrote: > The correct way to install/update ZFS Boot code on an MBR disk is: > > Install boot Manager (required on first install) > > # gpart bootcode -b /boot/boot0 ad0 > > Note: /boot/mbr could also be used if you are not multibooting > > Install ZFS boot1 stage > > # sysctl kern.geom.debugflags=0x10 > # dd if=/boot/zfsboot of=/dev/ada0s1 count=1 > > or > > # dd if=/boot/zfsboot of=/tmp/zfsboot1 count=1 > # gpart bootcode -b /tmp/zfsboot1 /dev/ada0s1 > > Install ZFS boot2 stage > # dd if=/boot/zfsboot of=/dev/ada0s1a skip=1 seek=1024 This ties everything together nicely for me, especially the part about the first bootcode install, which had me really confused. Thanks.