Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2006 10:31:29 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        beno <zope@2012.vi>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Rebuilding Kernel
Message-ID:  <20060822073129.GC93501@gothmog.pc>
In-Reply-To: <44EA1789.5040707@2012.vi>
References:  <44EA1789.5040707@2012.vi>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-08-21 16:28, beno <zope@2012.vi> wrote:
> Hi;
> I just barely finished upgrading from 5.3 to 6.1 and all is well,
> however, now I realize I have to rebuild my kernel again to accommodate
> PF. I've edited the correct GENERIC file (I'm on an i386 box).

Don't edit GENERIC.  It's very rarely a good idea.  If you spend some
time to fine tune GENERIC to your own particular setup, matching your
own preferences, you may be surprised in a very bad way after the next
CVSup run, when all your local modifications are blown away by CVSup as
it updates your 'GENERIC' configuration to the official GENERIC status.

It is a *FAR* better idea to copy GENERIC and edit a copy.  Most of the
time I even go as far as copying GENERIC _outside_ of the `/usr/src'
tree, i.e. in `/root/kernconf/LOCAL' and symlink that file inside the
source tree, i.e. at `/usr/src/sys/i386/conf'.

> Are these commands sufficient?
>
> make buildkernel
> make installkernel

Not necessarily.

> or do I need to redo all this?
>
> make buildkernel
> make installkernel
> sh /etc/rc.shutdown
> pkill sendmail
> pkill syslogd
> mergemaster -p
> make installworld
> mergemaster
> reboot
> /usr/local/bin/portmanager -u -f -l -y
> make delete-old-libs

Why are you running `/etc/rc.shutdown' manually?

Why are you using `pkill' on Sendmail and syslogd?




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