From owner-freebsd-questions@FreeBSD.ORG Wed Dec 22 06:48:17 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 116BF16A4CE for ; Wed, 22 Dec 2004 06:48:17 +0000 (GMT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8466C43D39 for ; Wed, 22 Dec 2004 06:48:16 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id iBM6kWdP000699; Tue, 21 Dec 2004 22:46:33 -0800 From: Kent Stewart To: freebsd-questions@freebsd.org, Zachary Huang Date: Tue, 21 Dec 2004 22:48:14 -0800 User-Agent: KMail/1.7.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412212248.14906.kstewart@owt.com> Subject: Re: upgrading from 4.2 to 4.10, succeeded, but still boots 4.2! Help!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2004 06:48:17 -0000 On Tuesday 21 December 2004 10:26 pm, Zachary Huang wrote: > OK, my old questions might be too simple and I did not get much help > from here. My old system was 4.2 and I was trying to upgrade to 4.10. > (hardware: K2-6 350 MHz with 384 meg and 20 gig) > > here is what I managed to do: > > 1). cvsup to RELENG_4_10 > here is the supfile > > *default host=ftp5.FreeBSD.org > *default base=/usr > *default prefix=/home/ncvs > *default release=cvs tag=RELENG_4_10 > *default delete use-rel-suffix > src-all > ports-all > > which seemed to be successful (did not see the final message because > too many spams filling on my screen, but it was going for a good 30 > min -- could it have stopped in the middle?) -- how do I stop the > rejected spams showing on the console? very annoying. > > 2). then I proceeded to follow the book: > make buildworld > (config MYKERNEL --this was not in the book)**this should not > mess things up? > make buildkernel KERNEL=MYkernel > make installkernel KERNEL=MYkernel > reboot (in single user) [1] > make installworld > mergemaster > reboot > > no error messages doing all the above steps. > > 3). I noticed that after reboot the machine was still showing: > > cyber# dmesg > Copyright (c) 1992-2000 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > 1994 The Regents of the Uni > versity of California. All rights reserved. > FreeBSD 4.2-RELEASE #1: Thu Dec 16 08:53:22 EST 2004 > > 4). So I recompiled the kernel by doing: > cd /usr/src/sys/i386/conf > /usr/sbin/config Mykernel > /cd ../../compile/Mykernel > make depend > make > make install > > 5). after reboot, I still see the same "4.2. RELEASE! > > 6). indeed. all the files in /usr/src seems to be the same as before > updating... > > -rw-r--r-- 1 root wheel 4735 Sep 5 1999 COPYRIGHT > drwxr-xr-x 2 root wheel 512 Sep 11 2001 CVS > -rw-r--r-- 1 root wheel 7257 Nov 7 2000 Makefile > -rw-r--r-- 1 root wheel 24600 Nov 11 2000 Makefile.inc1 > -rw-r--r-- 1 root wheel 9761 Aug 27 1999 Makefile.upgrade > -rw-r--r-- 1 root wheel 2642 Oct 27 2000 README > -rw-r--r-- 1 root wheel 30679 Nov 16 2000 UPDATING > drwxr-xr-x 32 root wheel 512 Sep 11 2001 bin > drwxr-xr-x 40 root wheel 1024 Sep 11 2001 contrib > drwxr-xr-x 7 root wheel 512 Dec 19 05:05 crypto > drwxr-xr-x 14 root wheel 1536 Sep 11 2001 etc > drwxr-xr-x 41 root wheel 1024 Sep 11 2001 games > drwxr-xr-x 7 root wheel 512 Sep 11 2001 gnu > drwxr-xr-x 6 root wheel 1536 Sep 11 2001 include > drwxr-xr-x 7 root wheel 512 Dec 19 05:05 kerberos5 > drwxr-xr-x 8 root wheel 512 Dec 19 05:05 kerberosIV > drwxr-xr-x 55 root wheel 1024 Sep 11 2001 lib > drwxr-xr-x 33 root wheel 1024 Sep 11 2001 libexec > drwxr-xr-x 8 root wheel 512 Sep 11 2001 release > drwxr-xr-x 74 root wheel 1536 Sep 11 2001 sbin > drwxr-xr-x 6 root wheel 512 Dec 19 05:05 secure > drwxr-xr-x 20 root wheel 512 Sep 11 2001 share > drwxr-xr-x 46 root wheel 1024 Sep 11 2001 sys > drwxr-xr-x 8 root wheel 512 Sep 11 2001 tools > drwxr-xr-x 211 root wheel 3584 Sep 11 2001 usr.bin > drwxr-xr-x 153 root wheel 3072 Sep 11 2001 usr.sbin > > 7). Can someone here tell me what I did wrong? I was not sure if > cvsup grabbed the right source or not, but usually when I was playing > the tag before, it would give me error messages if the tag was not > correct. > I bet you have a /home/ncvs/src with all of the 4.10 stuff in it :) Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html