Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2017 20:41:51 +0300
From:      Esa Karkkainen <ejk@iki.fi>
To:        freebsd-questions@freebsd.org, Drew Tomlinson <drew@mykitchentable.net>
Subject:   Re: Recommended Way To Update Old Systems To Current Versions
Message-ID:  <20170509174151.GB78432@pp.htv.fi>
In-Reply-To: <CY4PR20MB154453DE4CDB04AC8B75C774B3EF0@CY4PR20MB1544.namprd20.prod.outlook.com>
References:  <CY4PR20MB154453DE4CDB04AC8B75C774B3EF0@CY4PR20MB1544.namprd20.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 09, 2017 at 04:57:09PM +0000, Drew Tomlinson wrote:
> So what is the recommended way to upgrade?

First the FreeBSD, nowadays using freebsd-update, then ports/packages.

If these computers have small root filesystem, then you may have to
compile a custom and possibly monolithic kernel. The kernel modules and
debug symbols do not fit into a 3.x or 4.x era root filesystem.

> Binary first?

This should be documented in the handbook, but this is the rough outline
how to do it:

1. update kernel, using freebsd-update and reboot possibly to single user
2. update userland, using freebsd-update
3. fetch new ports tree using portsnap
4. install pkg and possibly portmaster/portupgrade 
5. convert from pkg to pkgng,
6. update or reinstall all ports/packages
7. optionally remove old libraries, using freebsd-update

> Then I’d have a current system upon which to build?
> Is there a guide to which you can point me?

FreeBSD:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html

Ports/packages:
https://www.freebsd.org/doc/handbook/pkgng-intro.html

and /usr/ports/UPDATING

> Any help appreciated as I’d rather not screw this up. ;)

I'd build a test system or systems and make sure that I have restorable
backups :)

Esa

-- 
"In the beginning the Universe was created. This has made a lot of
people very angry and been widely regarded as a bad move."
        -- Douglas Adams 1952 - 2001



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