From owner-freebsd-questions Tue Mar 12 11:33:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from omsk.mushinsky.net (omsk.mushinsky.net [66.114.66.201]) by hub.freebsd.org (Postfix) with ESMTP id 8C84137B404 for ; Tue, 12 Mar 2002 11:33:01 -0800 (PST) Received: from localhost (freebsd@localhost) by omsk.mushinsky.net (8.11.6/8.11.6) with ESMTP id g2CJWt920740; Tue, 12 Mar 2002 14:32:56 -0500 (EST) (envelope-from freebsd@mushinsky.net) Date: Tue, 12 Mar 2002 14:32:55 -0500 (EST) From: Isaac Mushinsky To: Eivind Olsen Cc: Subject: Re: How do I make a custom-kernel? In-Reply-To: <459249425.1015962935@[10.0.0.2]> Message-ID: <20020312142549.C20700-100000@omsk.mushinsky.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 1. You can use the old procedure still, but better 'make buildkernel'. 'make buildworld' does NOT rebuild the kernel, it does everything else. Look in the online version of the handbook, you probably have the old print edition? 2. To build your kernel, edit the conf file (take a copy of GENERIC or LINT and make your changes), save it in the same directory under SOME_NAME, and do make buildkernel KERNCOF=SOME_NAME make installkernel KERNCOF=SOME_NAME 'make kernel' to do 'make buildkernel && make installkernel' On Tue, 12 Mar 2002, Eivind Olsen wrote: > Hello. > > I have two questions regarding the building of custom kernels. > > 1) How do I do it? Is the procedure outlined in the FreeBSD handbook > (chapter 9.3) valid for FreeBSD 4.5? According to chapter 19.4.7: "If you > are upgrading to FreeBSD 4.0 or above then the standard kernel build > procedure (as described in Chapter 9) is deprecated.". So this is confusing > me. > > 2) Is there any way of getting the normal "make buildworld" and "make > installworld" do their job on my custom kernel instead of just making the > GENERIC kernel? > > Regards > -- > Eivind Olsen > eivind@aminor.no > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message