From owner-freebsd-questions@FreeBSD.ORG Wed Sep 1 11:59:25 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 1F98E16A4CF for ; Wed, 1 Sep 2004 11:59:25 +0000 (GMT) Received: from hamish.internode.com.au (hamish.internode.com.au [192.83.231.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id D553B43D2F for ; Wed, 1 Sep 2004 11:59:23 +0000 (GMT) (envelope-from adam@internode.com.au) Received: from hamish.internode.com.au (localhost.internode.com.au [127.0.0.1])i81BxFjh063436; Wed, 1 Sep 2004 21:29:15 +0930 (CST) Received: (from adam@localhost) by hamish.internode.com.au (8.12.9/8.12.1/Submit) id i81BxFTH063435; Wed, 1 Sep 2004 21:29:15 +0930 (CST) X-Authentication-Warning: hamish.internode.com.au: adam set sender to adam@internode.com.au using -f Date: Wed, 1 Sep 2004 21:29:15 +0930 From: Adam Smith To: Andrew Message-ID: <20040901115914.GA54320@internode.com.au> References: <0B2F477E-FC0C-11D8-A8E5-000A958B36E0@dragoweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0B2F477E-FC0C-11D8-A8E5-000A958B36E0@dragoweb.com> User-Agent: Mutt/1.4.1i X-Face: $vsV$1FNbZN\JVpjV#&+/!oVW`Kw$j?w_,te\SS}(tKD21c+l$t%\RCS(r$G; XXk]6,(!N:&(N3EV0bY`3):UrgG7'*qsj3l.75IaHV1<`i*{[L\:F*l6fH##C:-p2]xW/R-Z:!bo; 5g3GP-{I{}7O>tN}`Xm/=-:8NG?f-r'$Qc3y[aW-7'W_S<`KYU!_; `7K=kuC$-.7J2*kk=~`c@ADp+xhsv(!a@eW-R_5wtx+tC)(]%W+ X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) cc: freebsd-questions@freebsd.org Subject: Re: building the 5.1 kernel 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, 01 Sep 2004 11:59:25 -0000 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