From owner-freebsd-questions@freebsd.org Fri Feb 26 17:28:32 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 A9767AB5AC0 for ; Fri, 26 Feb 2016 17:28:32 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) 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 89CC41A23 for ; Fri, 26 Feb 2016 17:28:32 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 85589AB5ABE; Fri, 26 Feb 2016 17:28:32 +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 6C6B2AB5ABB for ; Fri, 26 Feb 2016 17:28:32 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3733D1A22 for ; Fri, 26 Feb 2016 17:28:32 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: by mail-io0-x22c.google.com with SMTP id l127so128748687iof.3 for ; Fri, 26 Feb 2016 09:28:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=r5SsSsXHHngcU9Xo3OKvGdbI+vUu9792rcjYpydFIJ4=; b=JImZoepeaa1yWbVBqcPz9PGjRSHcceF4MrhMDBbWO6qMnWCUfDBiuRSmIjxx43mqPY 6eFlqUq8FLHgEf1OiCP/+9vPYwDeqonkfxsuS+QZtNPJMsik21Gvu3+1JiGWKujPynRd deVliCkx3ryasxFXMaULa/8mP6JqvxOWViKtvOxFa9unNyFFU0XVkfsMoHxNTxi6FOAM UP/B8DGdpZkBFKRVEKqPWaQ3uU2/z+IrjZkUsNFnOwshvB/Ee3umII3A/fc4OdNjLggj fdQ8CmFF6CMcsoP/2q9fRpkgQmmB/Ao58QQvCtYpNjKtCHvtdajuGoCCZIDEzL2qsaUF eLsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=r5SsSsXHHngcU9Xo3OKvGdbI+vUu9792rcjYpydFIJ4=; b=aTyUTzCmnVSw68/7ifFd67mImV6PKD2JDCpSlNlr7gs/42Z4HvQ4760doKKDU093Lt 76xR0+C/5+bs6AX6btbFMh9DePpGuqWA07Mc+qSlJfk55ndkvgPRjzSWFMIH+A+1hzan +3RASkZUNLS2779gEZsInav6KW1SU0DyS/K5VoMxw3B1fimKmpx1KWfoqASQkfTntrMb rr7zGgHlzLfDU92FVR3Wb2apHbdIAvhv9JcnW0BOIJ74vNbFFZYYKzd1KfOAhGVfDLsI RHFe+PJCBwn+f5So3H67TEQtKVt+OmWdV5PSgl5ht5s6cGdteC8yxqpSuGCwD9g/neAN klXg== X-Gm-Message-State: AG10YOR5wjzstzrmZEr4Fx+zTG/nV+/GSF5kIdTLLpDk4wL1oVM/1JwwhufuY5ZLqD1dzLbU1jC0CIaUwsiXRA== MIME-Version: 1.0 X-Received: by 10.107.3.220 with SMTP id e89mr8710118ioi.99.1456507711595; Fri, 26 Feb 2016 09:28:31 -0800 (PST) Received: by 10.64.83.131 with HTTP; Fri, 26 Feb 2016 09:28:31 -0800 (PST) Received: by 10.64.83.131 with HTTP; Fri, 26 Feb 2016 09:28:31 -0800 (PST) In-Reply-To: <20160226181832.86d5c3e4.freebsd@edvax.de> References: <20160226161309.85976ddc.freebsd@edvax.de> <20160226165556.16940e82.freebsd@edvax.de> <20160226181832.86d5c3e4.freebsd@edvax.de> Date: Fri, 26 Feb 2016 22:58:31 +0530 Message-ID: Subject: Re: upgrade from 4.2 to 6.2 From: sathiyaraj v To: Polytropon Cc: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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 17:28:32 -0000 Thanks Polytropon. I don't have any specific reason not to upgrade latest one. I thought it may require my older driver support need to be aligned to support these new version. By the way I am not able to find older release code like 4.2,4.5 etc... in the FTP repository. Is it still accessible? If so Can you please tell me where it is? Thanks for understanding. Sathya V 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. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...