From owner-freebsd-questions@freebsd.org Tue May 9 17:49:00 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB59FD65144 for ; Tue, 9 May 2017 17:49:00 +0000 (UTC) (envelope-from ekarkkai@pp.htv.fi) Received: from welho-filter2.welho.com (welho-filter2.welho.com [83.102.41.24]) by mx1.freebsd.org (Postfix) with ESMTP id A60893D3 for ; Tue, 9 May 2017 17:48:59 +0000 (UTC) (envelope-from ekarkkai@pp.htv.fi) Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id 7008C21D16; Tue, 9 May 2017 20:41:58 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at pp.htv.fi Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id AnATLysI6Q5H; Tue, 9 May 2017 20:41:57 +0300 (EEST) Received: from zero.my.domain (87-100-138-79.bb.dnainternet.fi [87.100.138.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPS id D842821C; Tue, 9 May 2017 20:41:57 +0300 (EEST) Received: from thunderbolt.my.domain (thunderbolt.my.domain [10.192.168.30]) by zero.my.domain (8.15.2/8.15.2) with ESMTPS id v49Hfpsk021764 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 May 2017 20:41:57 +0300 (EEST) (envelope-from ekarkkai@pp.htv.fi) Received: from thunderbolt.my.domain (localhost [127.0.0.1]) by thunderbolt.my.domain (8.15.2/8.15.2) with ESMTPS id v49HfpYj024297 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 9 May 2017 20:41:51 +0300 (EEST) (envelope-from ejk@thunderbolt.my.domain) Received: (from ejk@localhost) by thunderbolt.my.domain (8.15.2/8.15.2/Submit) id v49HfpXK024296; Tue, 9 May 2017 20:41:51 +0300 (EEST) (envelope-from ejk) Date: Tue, 9 May 2017 20:41:51 +0300 From: Esa Karkkainen To: freebsd-questions@freebsd.org, Drew Tomlinson Subject: Re: Recommended Way To Update Old Systems To Current Versions Message-ID: <20170509174151.GB78432@pp.htv.fi> Mail-Followup-To: Esa Karkkainen , freebsd-questions@freebsd.org, Drew Tomlinson References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.8.2 (2017-04-18) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2017 17:49:01 -0000 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