Best way to update FreeBSD 11 ?

Daniel Nebdal dnebdal at gmail.com
Thu Dec 3 00:22:11 UTC 2015


On Wed, Dec 2, 2015 at 10:43 PM, David Wolfskill <david at catwhisker.org> wrote:
> On Wed, Dec 02, 2015 at 02:39:24PM -0700, Sergey Manucharian wrote:
>> Hello,
>>
>> What is the best way to update FreeBSD 11-CURRENT?
>> Initially I've installed it from an image from [0] a couple of months ago.
>> ...
>
> That depends on why you are considering the update.
>
> For me, I do in-place source updates "fairly" often (ref. src/UPDATING).
>
> Peace,
> david
> --
> David H. Wolfskill                              david at catwhisker.org
> Those who would murder in the name of God or prophet are blasphemous cowards.
>
> See http://www.catwhisker.org/~david/publickey.gpg for my public key.


If you have root on ZFS, you can shuffle your directories around to get
something compatible with beadm [1] . With that in place, you could clone
your existing install, chroot into it, do the upgrade there, and then if it
looks like it should work you can activate it and reboot to test.

If it fails, you should be able to re-activate the previously working
environment (by setting vfs.root.mountfrom to the appropriate path in the
loader, I think) and be back where you were without too much fuss.

With the caveat that I've barely touched this myself.

[1] https://forums.freebsd.org/threads/updating-existing-zfs-layout-to-beadm.44813/

-- 
Daniel Nebdal


More information about the freebsd-current mailing list