From owner-freebsd-stable Mon Jul 31 2:48:28 2000 Delivered-To: freebsd-stable@freebsd.org Received: from gekko.i-clue.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id B1FC537B8CC for ; Mon, 31 Jul 2000 02:48:20 -0700 (PDT) (envelope-from so@server.i-clue.de) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.i-clue.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id NAA12412; Mon, 31 Jul 2000 13:51:38 +0200 Message-ID: <39854B8C.5CE6C2EE@i-clue.de> Date: Mon, 31 Jul 2000 11:49:00 +0200 From: Christoph Sold Reply-To: so@server.i-clue.de Organization: i-clue interactive GmbH X-Mailer: Mozilla 4.74 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "Corey G." Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Upgrade procedures References: <20000731005630.A89962@flashcom.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Corey G." wrote: > > I am just a little puzzled on the best method for upgrading FreeBSD. > For this question I would be most concerned with the latest methods such > as an upgrade from 4.0 to 4.1. > > Would I be correct in saying that burning a CD and using sysinstall > would be the correct procedure? I remember seeing a warning somewhere > that mentioned sysinstall must be upgraded first before using this > method. I may have read it wrong but it sounded this way. If this is > true I am unable to find the exact procedure for doing this. I believe > it's upgraded when /usr/src is upgraded but I am not entirely sure. > > Would it be necessary to first cvsup src and rebuild world or should I > just use sysinstall to do the upgrade and later upgrade /usr/src? > > I successfully upgraded using the following steps although they may be > somewhat incorrect. > > 1. did a cvsup of src-all > 2. did a make buildworld > 3. did a make installworld > 4. followed the procedures in the handbook for upgrading /etc and such > 5. rebuilt the kernel and rebooted > 6. used sysinstall to upgrade the rest of the system > > If using sysinstall does not upgrade sources will compiling a new kernel > still grab the correct source during the compile? > > Does this look correct? The handbook does not describe this method in > such detail? Read /usr/src/UPDATING completely. A reciepe is given there. Some steps are missing, thus: - CVSup - make buildworld - make isntallworld - make buildkernel GENERIC => single user - make installkernel GENERIC - chflags noschg kernel.GENERIC - copy old /kernel.GENERIC to /kernel.GENERIC.old - copy new GENERIC to /kernel.GENERIC - chflags schg kernel.GENERIC - mergemaster => reboot Pay attention to which kernel is installed where! HTH -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message