Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2004 01:26:17 -0500
From:      Zachary Huang <bees.msu@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   upgrading from 4.2 to 4.10, succeeded, but still boots 4.2! Help!!!
Message-ID:  <cd2813c304122122265065e575@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.

Thanks so much and happy holidays!

Zach



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cd2813c304122122265065e575>