Date: Thu, 3 Dec 2015 01:22:08 +0100 From: Daniel Nebdal <dnebdal@gmail.com> To: Sergey Manucharian <sm@ara-ler.com>, Current <freebsd-current@freebsd.org> Subject: Re: Best way to update FreeBSD 11 ? Message-ID: <CA%2Bt49P%2BbYeQ6EtMzmnupzNCrgJFGh%2BO56xuOjiPBr1OMts49yA@mail.gmail.com> In-Reply-To: <20151202214329.GL1669@albert.catwhisker.org> References: <20151202213924.GA29322@dendrobates.araler.com> <20151202214329.GL1669@albert.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 2, 2015 at 10:43 PM, David Wolfskill <david@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bt49P%2BbYeQ6EtMzmnupzNCrgJFGh%2BO56xuOjiPBr1OMts49yA>