From owner-freebsd-questions Fri Jun 14 22:15: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by hub.freebsd.org (Postfix) with ESMTP id B83C437B401 for ; Fri, 14 Jun 2002 22:15:07 -0700 (PDT) Received: from localhost (localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.11.6/8.11.6) with ESMTP id g5F5EdH47758; Fri, 14 Jun 2002 22:14:39 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Date: Fri, 14 Jun 2002 22:14:39 -0700 (PDT) From: Annelise Anderson To: FreeBSD user Cc: questions@FreeBSD.ORG Subject: Re: make kernel KERNCONF= In-Reply-To: <20020614172329.C6577-100000@Amber.XtremeDev.com> Message-ID: 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 On Fri, 14 Jun 2002, FreeBSD user wrote: > Newbie question, how do I build a new kernel and put it at a place and > name that I specify rather than always to /kernel? Ie., > > cd /usr/src && make kernel KERNCONF=GENERIC OUTPUT=/kernel.GENERIC > > In another words, I don't want /kernel to be overwritten. Thanks in > advance. > Instead of make kernel, type make buildkernel This just builds it instead of also installing it. Then find it in /usr/obj/usr/src/sys/GENERIC (it will be called just kernel) and (from that directory, type: mv kernel /kernel.GENERIC or cp kernel /kernel.GENERIC If you are, as this suggests, creating a new kernel.GENERIC for an updated system, you might want to move the original kernel.GENERIC to kernel.GENERIC.OLD before you move or copy the new one into /. Annelise -- Annelise Anderson Author of: FreeBSD: An Open-Source Operating System for Your PC Available from: BSDmall.com and amazon.com Book Website: http://www.bittreepress.com/FreeBSD/introbook/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message