Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2010 07:34:44 +0000
From:      "b. f." <bf1783@googlemail.com>
To:        freebsd-questions@FreeBSD.org
Cc:        zaxis <z_axis@163.com>
Subject:   Re: can i just upgrade the 8.1 kernel ?
Message-ID:  <AANLkTiknxBncbYx564T83K_GXoCLtquvrCiV%2BO3ZhGoM@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
>FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Wed Jul 14
>15:35:26 CST 2010
>root at mybsd.zsoft.com:/media/G/usr/obj/media/G/usr/src/sys/MYKERNEL  i386
>
>Can i just use the following commands to upgrade to 8.1 kernel ? And does
>the virtualbox-ose still work under 8.1 ?

Check the mailing lists and PRs to see if anyone has had problems. It
probably works.

># csup -g -L 2 -h cvsup.freebsd.org
>/usr/share/examples/cvsup/standard-supfile

I think that this file contains:
*default release=cvs tag=.
which would update /usr/src to 9-CURRENT (-head).  That doesn't sound
like what you want.  Instead, you probably want the stable-supfile in
the same directory instead, which probably has(check this yourself):
*default release=cvs tag=RELENG_8
That would update your sources to the latest 8-STABLE, which is a
little in advance of 8.1.  Or you could change the tag to RELENG_8_1,
to be more conservative.  That would be 8.1+critical updates, if any.

># cd /usr/src
># make buildkernel KERNCONF=MYKERNEL
># make installkernel KERNCONF=MYKERNEL

You probably want to update the rest of the base system as well as the
kernel.  Follow the instructions near the bottom of /usr/src/UPDATING,
something like:

cd /usr/src
make buildworld kernel KERNCONF=MYKERNEL
reboot in single user
fsck -p /
mount -u /
mount -a
adjkerntz -i
mergemaster -p
cd /usr/src
make installworld
make delete-old delete-old-libs
mergemaster -i
reboot

b.



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