Date: Fri, 27 Dec 2013 12:28:23 -0500 From: Thomas Hoffmann <trh411@gmail.com> To: Scot Hetzel <swhetzel@gmail.com> Cc: Warren Block <wblock@wonkity.com>, Mathieu Arnold <mat@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>, FreeBSD Stable <freebsd-stable@freebsd.org> Subject: Re: FreeBSD 10.0-RC3 Now Available Message-ID: <CAB7-odk%2BSQCYosVXYz5PAEw1=850RtSxhcJgs-RMTKGiPxitJA@mail.gmail.com> In-Reply-To: <CACdU%2Bf_x==KzoSbL9ViNxcYJFSSQf=3g11Y7G2OzKt1MqR5K7g@mail.gmail.com> References: <20131226162521.GK2009@glenbarber.us> <CA%2BWntOt26JXT3Bh8ccSM-fQ726c2Hy3F06n2iDbu3pLBXjn-AA@mail.gmail.com> <20131226212158.GD13109@glenbarber.us> <CACuV5sCjjsjFK9AjJ7saRPpDktwxf1rd6a-M2FKXXYf-EaBy2w@mail.gmail.com> <BCB09816844D0B52B1EFE964@atuin.in.mat.cc> <CACuV5sD2Cw=iZ=uE8BjcV6j8-Bc8ppChQ=ZPKZ7uFTXQLmhCxQ@mail.gmail.com> <2F6DABD655B7C3230EC0F15D@ogg.in.absolight.net> <CAB7-odmH-b=%2B_-BwF1jt7EMdTxpK-P%2Bw%2Bp6Ce9-k7mRvXpLzog@mail.gmail.com> <38B0C411B75D7482B92033D2@ogg.in.absolight.net> <alpine.BSF.2.00.1312270859430.32365@wonkity.com> <CACdU%2Bf_x==KzoSbL9ViNxcYJFSSQf=3g11Y7G2OzKt1MqR5K7g@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On Fri, Dec 27, 2013 at 12:15 PM, Scot Hetzel <swhetzel@gmail.com> 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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB7-odk%2BSQCYosVXYz5PAEw1=850RtSxhcJgs-RMTKGiPxitJA>
