From owner-freebsd-questions Sun Apr 28 13: 3:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 4ED8C37B41B for ; Sun, 28 Apr 2002 13:03:18 -0700 (PDT) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id NAA02358; Sun, 28 Apr 2002 13:03:12 -0700 Message-ID: <3CCC557F.30207@owt.com> Date: Sun, 28 Apr 2002 13:03:11 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: "David S. Jackson" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: make installkernel KERNEL=MYKERNEL? References: <20020428192455.GA24569@scee.dsj.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 David S. Jackson wrote: > Hi, > > I'm a little confused by the instructions in chapter 9 of the handbook > on the "new" way to make/install a new kernel: > > Note: In FreeBSD 4.2 and older you must replace KERNCONF= with KERNEL=. > 4.2-STABLE that was fetched after > Feb 2nd, 2001 does recognize KERNCONF=. > > In the previous example in the explanation, the custom kernel is called > MYKERNEL, but in the note is it called 4.2-STABLE? or can it be called > MYKERNEL? The note seems a little ambiguous for someone who doesn't > know explicitly what the note is saying beforehand. I think it means > > make installkernel KERNEL=MYKERNEL > > but am I right? Is this line correct? > Up to a point and then I am not sure whether you are lost and wandering in a desert somewhere. You have to have a file called MYKERNEL, which started out as a copy of GENERIC. If you need help, comment out the options you don't want to use. Otherwise, figuring out a kernel config problem should be a payment required situation. MYKERNEL's are all named after the computer they are on such as RUBY, CORAL, JADE, and etc. The easy way to deal with it is to add something to /etc/make.conf like KERNCONF=CORAL Then, all you have to do is "make kernel" and it will build and install your kernel. I think the chapter in the Handbook covers this pretty well. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message