From owner-freebsd-questions Fri Sep 29 8:15:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from 2711.dynacom.net (2711.dynacom.net [206.107.213.3]) by hub.freebsd.org (Postfix) with ESMTP id C663D37B423 for ; Fri, 29 Sep 2000 08:15:26 -0700 (PDT) Received: from urx.com (dsl1-160.dynacom.net [206.159.132.160]) by 2711.dynacom.net (Build 101 8.9.3/NT-8.9.3) with ESMTP id IAA02447; Fri, 29 Sep 2000 08:15:22 -0700 Message-ID: <39D4B20A.39F50544@urx.com> Date: Fri, 29 Sep 2000 08:15:22 -0700 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Peter Kurpis Cc: Bigwillie , freebsd-questions@FreeBSD.ORG Subject: Re: can't rebuild GENERIC References: <005301c0292d$dd600ae0$52bd0a3f@dale2> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Kurpis wrote: > > >At 02:16 AM 9/28/00 , you wrote: > >>Hi, I am trying to reconfigure my kernel on version 4.1 > >>(having installed all sources from the CDROM). I > >>followed the instructions in the online Handbook. > >> > >>I had problems, so I took a step back and tried rebuilding > >>GENERIC: > > > >If I understand you correctly, to reconfigure the kernel you > >cp GENERIC > >configure your new file the way you want > >/usr/sbin/config > >cd ../../compile/ > >make clean > >make depend > >make > >make install > >reboot > > > >Good Luck > > Thanks, I know that's the procedure in 3.x, and in Greg Lehey's > book, but the online handbook that comes with 4.1 seems to > have a different procedure, namely, > > cp GENERIC FOO > ...then configure FOO however I want... > cd /usr/src > make buildkernel KERNEL=GENERIC 2>&1 >/tmp/make.log > > I'm confused. Will the old procedure work? The buildkernel option won't work unless you have populated /usr/obj by a "make buildworld" first. The config and make depend way may not work after a cvsup. Once you have a new userland and kernel installed, the config and make depend will work. Kent > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message