From owner-freebsd-questions@freebsd.org Fri Apr 15 10:15:53 2016 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 55C1AAED460 for ; Fri, 15 Apr 2016 10:15:53 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D8AB11E2B for ; Fri, 15 Apr 2016 10:15:52 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from ox-dell39.ox.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id B9B3411E11 for ; Fri, 15 Apr 2016 10:15:48 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/B9B3411E11; dkim=none; dkim-atps=neutral Subject: Re: Upgrading from FreeBSD 4.1 To: freebsd-questions@freebsd.org References: <003401d196ee$258ee680$70acb380$@zamnet.zm> From: Matthew Seaman Message-ID: <76a9fc3a-e1f4-4599-1173-a928f528fe82@freebsd.org> Date: Fri, 15 Apr 2016 11:15:36 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <003401d196ee$258ee680$70acb380$@zamnet.zm> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MjfxXcGPjMNoTCFqDVlTIpTKGNPBITInO" X-Virus-Scanned: clamav-milter 0.99.1 at smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2016 10:15:53 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --MjfxXcGPjMNoTCFqDVlTIpTKGNPBITInO Content-Type: multipart/mixed; boundary="QHVcMETv7xqT9U0eS7w5NDt2tEMo9RiSV" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <76a9fc3a-e1f4-4599-1173-a928f528fe82@freebsd.org> Subject: Re: Upgrading from FreeBSD 4.1 References: <003401d196ee$258ee680$70acb380$@zamnet.zm> In-Reply-To: <003401d196ee$258ee680$70acb380$@zamnet.zm> --QHVcMETv7xqT9U0eS7w5NDt2tEMo9RiSV Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/15/16 09:09, Allan Kapoma wrote: > I'm running FreeBSD 4.10 and I want to upgrade the system to a later ve= rsion > of FreeBSD.=20 >=20 > =20 >=20 > However, whenever I run commands to update the system (# freebsd-update= ), or > install portsnap, or install portmanager, or pkg commands, portsnap fet= ch > extract, I'm getting the message that command not found=20 >=20 > =20 >=20 > The my output for uname -a is shown below >=20 > =20 >=20 > relay# uname -a >=20 > FreeBSD relay.zamnet.zm 4.10-RELEASE FreeBSD 4.10-RELEASE #1: Fri Nov 1= 2 > 06:54:4 =20 >=20 > =20 >=20 > I'm asking for assistance on how I can enable the system (FreeBSD 4.10)= to > run these commands and hopefully update my system and packages on it Given that FreeBSD 4.10 is so old -- 4.10-RELEASE was around 9 years ago -- then I'd be concerned about the hardware it's running on. Not just because of Moore's Law, but simply because components that old are probably past the end of their expected lifetimes. Certainly for hard drives -- the churn involved in upgrading the system can quite easily trigger drive failure. If I were you, I'd start with a fresh install of FreeBSD 10.3-RELEASE on at least a new hard drive, but preferably an entirely new server. Then port over all your local settings and software load. This also has the very useful property that your old system can be left running while you do the build, and still be available afterwards if you need to revert back to it. If you can't afford new components or new hardware, whatever you do, don't try and do an in-place upgrade: the partitioning layout needed has changed quite a lot in the past decade, and you'll find that modern FreeBSD needs much more space in the root partition than 4.10 did. You'll end up with a full filesystem and missing important files. In this situation, you would be better off wiping the system and doing a reinstall from scratch. Cheers, Matthew --QHVcMETv7xqT9U0eS7w5NDt2tEMo9RiSV-- --MjfxXcGPjMNoTCFqDVlTIpTKGNPBITInO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXEL9PAAoJEABRPxDgqeTnntAP+weiQLIK+wRuW5nZMs0fbvU3 cIrgcJ5zx076Gefde9m+uYqI0dU4ay9eUcqE+4pi4exXpn6oQ72sfjDvkdhLfPAX F0L9KuYE5AxCrSp9dlEhH3q1L+mM6GP0YcSCeIHHA97EyZvH9VbI3fr1fZFFmDAV /pSHPWX/IYAdf9sGDgABZ/vWlrohu+pwSU4VQ92pw0jtuq73IlZ0ZsfkG2aHhytj GWvk9OyJUiyRRjdbRqEnFr98tbN7PhgNUOfU8tod6XNcAvfl9PjACY/p4JxDVxhS BN2deHDL2UGeqs4xvBRUnUyqITlvnedKpkfPaykjwdt0jPmhntzfsHChvrT//4Dv 3RUeTVpcfh5WHFrJ8pDQ3VqKwiT52/5idTgyyPoFQEFnsKatWeLK50kWIlugTslg nln302QtSe8jJ7MftBfZDcuYh7q91tjo3cj8znowztM8H/fd2OxCu1QXzkEX07Bv 2pRQeJ4/iNIUgOcw9j1S67EeqhJtStrPGLVG8DYsGPJLguhBXgcY2e5eAUuI7Ugl 504H0CO+h1EY7kE5uu092S66wXVHSzikMQOorIba7/daoOpkhkHYjVJeObvqteHX 4baK4RSNc96/HEDdCqiIHojpQLXFYJH9LTOilbO/GXShYGq87z+uR9X7GnRsfHz6 Z6dtKcg5NL6DDZ/7sZwU =Swbq -----END PGP SIGNATURE----- --MjfxXcGPjMNoTCFqDVlTIpTKGNPBITInO--