Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Aug 2010 21:58:06 +0300
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Upgrading Boot Loader
Message-ID:  <4C57153E.6090404@gmail.com>
In-Reply-To: <1307640753.117641280774973685.JavaMail.root@mail-01.cse.ucsc.edu>
References:  <862183450.117591280774852071.JavaMail.root@mail-01.cse.ucsc.edu> <1307640753.117641280774973685.JavaMail.root@mail-01.cse.ucsc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
02.08.2010 21:49, Tim Gustafson написав(ла):
> Hi,
>
> I want to update my boot loader based on upgrading to FreeBSD 8.1.  I originally installed FreeBSD 8.0 using the "zfsinstall" utility available at http://mfsbsd.vx.sk/ and so my "tank" zpool is currently using version 13, whereas my other non-boot zpool is using version 14.  After upgrading (via make buildworld buildkernel installkernel installworld) to FreeBSD 8.1, running "zpool status" tells me:
>
> The pool is formatted using an older on-disk format. The pool can still be used, but some features are unavailable. Upgrade the pool using 'zpool upgrade'.  Once this is done, the pool will no longer be accessible on older software versions.
>
> I vaguely remember reading that the zfsboot and/or zfsloader need to be updated properly before you upgrade your root zfs pool or the loader won't be able to boot from that partition.
>
> So, my question is: how do I update the zfsboot and/or zfsloader to the new version?  I've read that bsdlabel can install new boot code, but I'm not sure which one of those files (or both) need to be used.  My best guess is that I need to run:
>
> bsdlabel -B -b /boot/zfsboot
>
> Is that correct?  Is there anything else I should do?  What's the proper way to "roll back" in the event that the system becomes unbootable?

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.

-- 
Sphinx of black quartz judge my vow.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C57153E.6090404>