On Fri, Dec 27, 2013 at 12:15 PM, Scot Hetzel <swhet...@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.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to