Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2010 12:11:07 -0700 (PDT)
From:      Tim Gustafson <tjg@soe.ucsc.edu>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Cc:        Volodymyr Kostyrko <c.kworr@gmail.com>
Subject:   Re: Upgrading Boot Loader
Message-ID:  <838366360.118191280776267912.JavaMail.root@mail-01.cse.ucsc.edu>
In-Reply-To: <1062436129.118171280776259114.JavaMail.root@mail-01.cse.ucsc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> Nope. Read 
> http://www.mail-archive.com/freebsd-stable@freebsd.org/msg103917.html
> You need the dd sequence. And you need to do that on exported pool.

So, just to be clear, I need to boot off a USB key (which will then allow me to write to ad8 and ad10, my two boot zpool devices), and then:

dd if=/boot/zfsboot of=/dev/ad8 bs=512 count=1
dd if=/boot/zfsboot of=/dev/ad10 bs=512 count=1
dd if=/boot/zfsboot of=/dev/ad8 bs=512 skip=1 seek=1024
dd if=/boot/zfsboot of=/dev/ad10 bs=512 skip=1 seek=1024

And that assumes that I copy the newly-compiled zfsboot to the USB key after creating it, correct?

Tim Gustafson
Baskin School of Engineering
UC Santa Cruz
tjg@soe.ucsc.edu
831-459-5354



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?838366360.118191280776267912.JavaMail.root>