From owner-freebsd-questions Thu Aug 16 20:46:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from d1c47d61.gw206.dsl.airmail.net (d1c47d61.gw206.dsl.airmail.net [209.196.125.97]) by hub.freebsd.org (Postfix) with ESMTP id 2F04B37B408 for ; Thu, 16 Aug 2001 20:46:17 -0700 (PDT) (envelope-from wardd@d1c47d61.gw206.dsl.airmail.net) Received: (from wardd@localhost) by d1c47d61.gw206.dsl.airmail.net (8.11.4/8.11.1) id f7GN4ZX15047; Thu, 16 Aug 2001 23:04:35 GMT (envelope-from wardd) Date: Thu, 16 Aug 2001 23:04:34 +0000 From: William Ward To: Wing Tim Cc: bsd2000au@yahoo.com.au, freebsd-questions@FreeBSD.ORG Subject: Re: Don't know how to buildkernel Message-ID: <20010816230434.A15000@d1c47d61.gw206.dsl.airmail.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from twchim1@hotmail.com on Fri, Aug 17, 2001 at 11:36:41AM +0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >From: Keith Spencer >To: fbsd >Subject: Don't know how to buildkernel >Date: Fri, 17 Aug 2001 12:23:43 +1000 (EST) > >Hi all. >I am trying the NEW way to build a kernel. >I installed the kernel-developer dist. FBSD ver 4.3 >I changed the kernel GENERIC conf file and tried a... >make buildkernel KERNCONF=FIREWALL >and it craps out complaining it doesn't know how to >buildkernel... >any ideas?? A nice place to read about it: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html The short answer: # cd /usr/src/sys/i386/conf # cp GENERIC FOOBAR # vi FOOBAR # config FOOBAR # cd ../../compile/FOOBAR # make depend all install # reboot You only have to copy GENERIC to your host specific kernel config file (FOOBAR in the example) the first time of course. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message