From owner-freebsd-questions@freebsd.org Fri Feb 26 20:27:44 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 1C90DAB6E8D for ; Fri, 26 Feb 2016 20:27:44 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 02C7B1FAF for ; Fri, 26 Feb 2016 20:27:44 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: by mailman.ysv.freebsd.org (Postfix) id F3CD7AB6E8C; Fri, 26 Feb 2016 20:27:43 +0000 (UTC) Delivered-To: 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 D99ADAB6E8B for ; Fri, 26 Feb 2016 20:27:43 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AAFE61FAE for ; Fri, 26 Feb 2016 20:27:43 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-244-25.knology.net [216.186.244.25] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id u1QKANws000852 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 26 Feb 2016 14:10:24 -0600 Subject: Re: upgrade from 4.2 to 6.2 References: <20160226161309.85976ddc.freebsd@edvax.de> <20160226165556.16940e82.freebsd@edvax.de> <20160226181832.86d5c3e4.freebsd@edvax.de> Cc: questions@freebsd.org From: "William A. Mahaffey III" Message-ID: <56D0B12F.9050407@hiwaay.net> Date: Fri, 26 Feb 2016 14:15:53 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160226181832.86d5c3e4.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 20:27:44 -0000 On 02/26/16 11:24, Polytropon wrote: > On Fri, 26 Feb 2016 21:40:24 +0530, sathiyaraj v wrote: >> I am doing it for the first time. > This is why a verified backup is mandatory. :-) > > > >> That's why I am looking for some tutor. I >> just tried to add new files in the existing 4.2. But I ran into >> compilation issues. To fix that I am searching file by file. That consumes >> lot of my time. > Manually messing with the source is not a good idea, especially > when you want to improve system security. > > > >> That's where I thought of direct upgrade from 4.2 to 6.2. > The easiest way to do this is to actually re-install the whole OS > (and then the applications you need). Doing this via source is > possible, but often more complicated than it needs to be. You > will have to manually download the source distributions, as FreeBSD > 4 and 6 still use CVS for source checkout (which isn't supported > anymore and therefore won't work). Installing the currently required > tool for source checkout, which is SVN, isn't really possible because > FreeBSD 4 and 6 are lacking the ports toolchain which is required, > and binary packages probably won't exist for that old version (in > the archive I mentioned in a previous message). > > > >> My understanding is that to upgrade from 4.2 to 6.2 ,we need to take backup >> and install new SRC directly. > No, you install the OS in the "normal" (binary) manner. To install > from source, you need a system that's able to process the sources, > which in your case would mean you'd first have to get the sources > of 5.0, compile and install, upgrade to lastest 5.x version, compile > and install, get sources of 6.0, compile and install, upgrade sources > to 6.2, compile and install - which is much more work than actually > using the precompiled 6.2 installation image and install "from scratch", > and after that, restore configuration and user data from backup. > > > >> Is that a way or any other easiest way to >> achieve that? > As I said, it's possible, but much more work that it needs to be. > There's nothing wrong with installing "from scratch". From the > installation media, you can also install precompiled packages of > software you need. And everything else can be installed from the > ftp-archive location with $PACKAGESITE set for pkg_add. > > Is there any reason for you not to install a _current_ FreeBSD > version, such as FreeBSD 10.2 for PPC? It will be much easier > for you to get the additional software you need: You can install > it binarily (via "pkg add") or from source with the ports collection > (which now has totally different "inner workings"). And you're > using an OS that is supported. > I'll jump in & 2nd the motion on a straight *backup/verify-reinstall* upgrade pathway. Once you decide to do that, it is no more difficult to go from 4.2 --> 10.2 than it would be to go from 4.2 --> 6.2, except that 6.2 is also past EOL & unsupported in the same way 4.2 is, so you wouldn't be buying yourself any real advantage going to 6.2. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.