From owner-freebsd-questions Tue Feb 19 15:50:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id E420B37B400 for ; Tue, 19 Feb 2002 15:50:21 -0800 (PST) Received: (qmail 72237 invoked by uid 100); 19 Feb 2002 23:50:15 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15474.58551.91350.65768@guru.mired.org> Date: Tue, 19 Feb 2002 17:50:15 -0600 To: rene@xs4all.nl Cc: questions@freebsd.org Subject: Re: building multiple ( 2+ or more) kernels for easy switching? In-Reply-To: <48552002@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.46 (Python 2.2; freebsd-4.5-STABLE-i386) 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 rene@xs4all.nl types: > Hi. I'm running 4.5-STABLE, and would like to know if it's possible to have 2 or > more kernel configuration files built (using /usr/src% make buildkernel > KERNCONF=file) after one-another, and then installing whichever I need at a > certain time using /usr/src% make installkernel KERCONF=file.. Yup, it's real easy. Just list all the config files on the KERNCONF line like so: KERNCONF=GURU GENERIC You can list more than two, and you don't have to build GENERIC if you don't want to. The first one listed - in this case GURU - will be the one installed by "installkernel". You probably want to set MODULES_WITH_WORLD=true as well, otherwise it will build the modules when it builds each kernel, which is probably a waste of time. This also means that you don't install modules until you do the installworld, which can cause interesting problems. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message