From owner-freebsd-questions Mon Feb 17 10:42:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA05332 for questions-outgoing; Mon, 17 Feb 1997 10:42:57 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA05324 for ; Mon, 17 Feb 1997 10:42:52 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id KAA07034; Mon, 17 Feb 1997 10:42:27 -0800 (PST) Date: Mon, 17 Feb 1997 10:42:27 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Gary Schrock cc: freebsd-questions@FreeBSD.ORG Subject: Re: compiling upgrade from 2.1-stable to 2.2-gamma/release? In-Reply-To: <3.0.1.32.19970214140113.006db24c@eyelab.msu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 14 Feb 1997, Gary Schrock wrote: > Ok, this has probably been asked and I missed it, but I couldn't find it by > searching the mailing list archives. Does anyone have any suggestions for > compiling the upgrade from 2.1-stable to 2.2-gamma? Is this such a pain > that it's recommended not to do? It wasn't in the archives? I've posted this a good twenty times now, although I'm premiering a new version for you. > Basically, I've cvsup'd RELENG_2_2. Now do I make world first, compile the > new kernel first, sacrifice small animals above my machine first? Any > suggestions on how to deal with changes in /etc so that I can make them > without wiping out the information there I need to keep? Oh, barf. That is the hard way and would take more than small animals, most likely your first born child :) The best way is to boot the boot floppy for 2.2 and select the 'upgrade' option. This is my new improved FreeBSD Upgrade Checklist for 2.2: 1) Boot the new floppy. Select the 'update' option. Follow the prompts. Make sure you MOUNT your filesystems and not NEWFS them. Select the same distributions you did originally (including the kernel source, src/ssys!) and any you wish to add. 2) Hit 'commit' to start the upgrade. 3) When you're dumped to a shell prompt: . Your /etc directory is preserved as it was for 2.1.x. You will want to look in /etc/upgrade, which contains new & updated files for this release. . Using your old sysconfig as a guide, create a new sysconfig using the one in /etc/upgrade as a template. . You may want to copy over the rc* files from upgrade/, so new features in sysconfig are used. . Migrate other files as necessary. 5) Reboot, recompile & reinstall your kernel, reboot again, and enjoy. Hope this helps. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major