From owner-freebsd-questions Tue Feb 19 2:32:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 7042437B400 for ; Tue, 19 Feb 2002 02:32:36 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id E588E2B6BD; Tue, 19 Feb 2002 11:32:33 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id A9F8384B; Tue, 19 Feb 2002 21:32:22 +1100 (EST) Date: Tue, 19 Feb 2002 21:32:22 +1100 From: Edwin Groothuis To: rene@xs4all.nl Cc: questions@freebsd.org Subject: Re: building multiple ( 2+ or more) kernels for easy switching? Message-ID: <20020219213222.R494@k7.mavetju.org> References: <20020219112127.B5644@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020219112127.B5644@xs4all.nl>; from rene@xs4all.nl on Tue, Feb 19, 2002 at 11:21:27AM +0100 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 Tue, Feb 19, 2002 at 11:21:27AM +0100, rene@xs4all.nl wrote: > 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.. Easiest, IMHO, is to make one, install it, rename it, make the second, install it, rename it. Then at reboot, press space during the ten second delay and say "set bootfile /myfirstkernel" (syntax may be a little bit rusty) to boot the first one or /mysecondkernel to boot the second one. But yeah, to build them just use different files in /sys/i386/conf and all will be fine. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message