From owner-freebsd-questions Thu Aug 31 16:16: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gershwin.tera.com (gershwin.tera.com [207.224.230.28]) by hub.freebsd.org (Postfix) with ESMTP id EAE0C37B422 for ; Thu, 31 Aug 2000 16:15:57 -0700 (PDT) Received: from tera.com (athena.sea.tera.com [207.224.230.169]) by gershwin.tera.com (8.9.3/8.9.3) with ESMTP id QAA23225; Thu, 31 Aug 2000 16:16:16 -0700 (PDT) Received: by tera.com (8.8.8+Sun/SMI-SVR4) id QAA27793; Thu, 31 Aug 2000 16:15:56 -0700 (PDT) Date: Thu, 31 Aug 2000 16:15:56 -0700 From: Gary Kline To: Sean Michael Whipkey Cc: questions@FreeBSD.ORG Subject: Re: Upgrading from 3.x to 4.1 Message-ID: <20000831161556.A27782@athena.sea.tera.com> References: <39AECFB2.F57AA835@cstone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95us In-Reply-To: <39AECFB2.F57AA835@cstone.net>; from Sean Michael Whipkey on Thu, Aug 31, 2000 at 05:35:46PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Aug 31, 2000 at 05:35:46PM -0400, Sean Michael Whipkey wrote: > Okay, > > This is the first time I've tried upgrading to a new branch on a FreeBSD > box. I'll be trying it first on our development machine, and if it > works, doing it on our production machine to try to fix our problems > with MySQL hogging 90+% of the CPU for a few minutes at a time. > > So here's what I have written down to do so far: > > cd /usr/src > make buildworld > # build/install kernel > make buildkernel KERNEL=MYKERNEL > make installkernel KERNEL=MYKERNEL > # back to upgrade > cd /usr/src/sbin/mknod > make install > # rebuild disks in /dev > cp src/etc/MAKEDEV /dev/MAKEDEV > #PSUEDOcode: for N in the list of disks > #MAKEDEV N > # for M in the list of slices > #MADEDEV NsMa > reboot # into single user > cd /usr/src > cd gnu/usr.bin/texinfo/install-info > make install > cd ../../../.. > ldconfig -R /usr/obj/usr/src/lib/libc > make installworld > mergemaster > reboot > > I've already used cvsupit to update my sources. > > Anything wrong? Different? Right? > Looks pretty good. I'm in the process of moving my main home system from 3.2 to 4.1-STABLE. You probably ought to be tracking the -stable list if you are going to use the STABLE branch. Also suggest that you get the very latest cvsup patches that were just released this morning (31aug00). Note that for MYKERNEL above, it is probably wise to use the GENERIC kernel template rather than your own or old kernel file. You will need to alter GENERIC to suit your taste once things are working. gary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message