From owner-freebsd-questions@freebsd.org Sun Nov 12 21:03:15 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 61090C7CA3F for ; Sun, 12 Nov 2017 21:03:15 +0000 (UTC) (envelope-from srs0=xsvn=ck=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 4DA087544A; Sun, 12 Nov 2017 21:03:14 +0000 (UTC) (envelope-from srs0=xsvn=ck=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 3yZmSr13fxz2fk5T; Sun, 12 Nov 2017 13:03:08 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Upgrade old System From: Doug Hardie In-Reply-To: <8bd0b204-682b-fe1c-02e6-a504473efaf6@FreeBSD.org> Date: Sun, 12 Nov 2017 13:03:07 -0800 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <03EE617A-B023-4763-B7FF-C79017A026E2@mail.sermon-archive.info> References: <20171111093555.a28a5692.freebsd@edvax.de> <20171111105416.9c74b061.freebsd@edvax.de> <8bd0b204-682b-fe1c-02e6-a504473efaf6@FreeBSD.org> To: Matthew Seaman X-Mailer: Apple Mail (2.3273) X-Virus-Scanned: clamav-milter 0.99.2 at mail X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2017 21:03:15 -0000 > On 11 November 2017, at 02:18, Matthew Seaman = wrote: >=20 > On 11/11/2017 09:54, Polytropon wrote: >>>> FreeBSD 8.2-STABLE #1: Wed Aug 24 10:25:44 CEST 2011 :-) >=20 >>> Unfortunately, re-installation is not possible. Its just not >>> accessible except via ssh. >=20 >> Okay, this is limiting your options. Maybe you can use source >> update, but not directly from 8.2 to 11.1, but instead to 9.0, >> 10.0, 11.0; it's possible that you also need to upgrade each >> of the major versions to the maximum minor version first, then >> make the switch to the next major version. >=20 > One thing to check before you start: is the root partition large = enough? > The space required for the root has grown steadily over the years and > complaints about running out of space used to be a regular refrain on > the lists when a new major release came out. Much less of a problem > nowadays given the installer defaults to a single big partition for > pretty much everything. I've been bit by that a few times. Some of the servers started out on = version 3.5 and have been updated until 9.x. While those have gone away = recently, I got hit twice by that issue on each over the years of = upgrades. This machine has only one partition per drive. For some = reason, I don't recall, I put /usr on a separate drive. It doesn't need = to be as this is a demo machine for a client. It only needs 13 GB = total. Anyway, looking at the effort required to incrementally upgrade = vi freebsd-update, it's just not worth the time. All the production = servers went via the upgrade process over the years. This one lost it's = internet connection and sat unused for many years. So I know the = upgrade path is viable, but I remember the work involved. I am = currently building a copy of the production system into the demo system = and will scp it up when finished. My main concern is that when the = drive has been upgraded via tar, will the kernel still work enough to be = able to reboot? The shutdown binary will have been replaced with the = new one. I suspect I will need to use the shutdown in /rescue to avoid = issues with upgraded libraries. -- Doug