Date: Fri, 26 Feb 2016 14:15:53 -0553.75 From: "William A. Mahaffey III" <wam@hiwaay.net> Cc: questions@freebsd.org Subject: Re: upgrade from 4.2 to 6.2 Message-ID: <56D0B12F.9050407@hiwaay.net> In-Reply-To: <20160226181832.86d5c3e4.freebsd@edvax.de> References: <CAGCgGAUCkcmz6wr9SwP=PmV8YWtWrJ8nCAT6qhS7x3opZYy32g@mail.gmail.com> <20160226161309.85976ddc.freebsd@edvax.de> <CAGCgGAVqmD5PO4xR9y=LJ7SkHOE5XaPPWWpAp0Yd13mk3YyZzA@mail.gmail.com> <20160226165556.16940e82.freebsd@edvax.de> <CAGCgGAUGFanxSrVQCdOkB1qxtUUp1LKqhYDsH-ySMjOfiEktWA@mail.gmail.com> <20160226181832.86d5c3e4.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56D0B12F.9050407>