Upgrading Boot Loader

Tim Gustafson tjg at soe.ucsc.edu
Mon Aug 2 19:11:08 UTC 2010


> 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 at soe.ucsc.edu
831-459-5354


More information about the freebsd-questions mailing list