Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2004 21:29:15 +0930
From:      Adam Smith <adam@internode.com.au>
To:        Andrew <tacoboy24@dragoweb.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: building the 5.1 kernel
Message-ID:  <20040901115914.GA54320@internode.com.au>
In-Reply-To: <0B2F477E-FC0C-11D8-A8E5-000A958B36E0@dragoweb.com>
References:  <0B2F477E-FC0C-11D8-A8E5-000A958B36E0@dragoweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 01, 2004 at 07:42:46AM -0400, Andrew said:
> I am trying to rebuild the 5.1 kernel. Using the Freebsd handbook as a 
> guide.
> 
> I am running freebsd 5.1 and as fyi have been  building suse and redhat 
> kernels for a while without problems. But this is my first time 
> building the freebsd kernel)
> 
> This is what I did.
> 
> cd /sys/i386/conf
> config GENERIC <-- no changes to the file then per the results of config

If no changes were made you don't need to recompile your kernel.

> cd ../compile/GENERIC
> then
> 
> make depend
> 
> then
> 
> make

All this stuff is not the right way around, at least for FreeBSD, and it
looks like you're running MiniBSD(?) of which I know nothing ;)

Anyway, this is what I do:

cd /usr/src/sys/i386/conf
cp GENERIC YOURNEWKERNELFILE
vi YOURNEWKERNELFILE
cd /usr/src
make buildkernel KERNCONF=YOURNEWKERNELFILE
make installkernel KERNCONF=YOURNEWKERNELFILE
reboot

Adam

-- 
Adam Smith
Internode	: http://www.internode.on.net
Phone		: (08) 8228 2999



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