Re: FreeBSD 10.0-RC3 Now Available

From: Thomas Hoffmann <trh411_at_gmail.com>
Date: Fri, 27 Dec 2013 12:28:23 -0500
On Fri, Dec 27, 2013 at 12:15 PM, Scot Hetzel <swhetzel_at_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.
Received on Fri Dec 27 2013 - 16:28:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:45 UTC