Re: Best way to update FreeBSD 11 ?

From: Daniel Nebdal <dnebdal_at_gmail.com>
Date: Thu, 3 Dec 2015 01:22:08 +0100
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
Received on Wed Dec 02 2015 - 23:22:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC