From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 05:54:41 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 184FA16A4B3 for ; Mon, 6 Oct 2003 05:54:41 -0700 (PDT) Received: from fep3.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6714B43FA3 for ; Mon, 6 Oct 2003 05:54:40 -0700 (PDT) (envelope-from bbobowski@cogeco.ca) Received: from d150-57-33.home.cgocable.net (d150-57-33.home.cgocable.net [24.150.57.33]) by fep3.cogeco.net (Postfix) with ESMTP id 315FA3608; Mon, 6 Oct 2003 08:54:39 -0400 (EDT) From: Brian Bobowski To: Ewald Jenisch , freebsd-questions@freebsd.org Date: Mon, 6 Oct 2003 08:54:36 +0000 User-Agent: KMail/1.5.4 References: <3F815BED.1090000@jenisch.at> In-Reply-To: <3F815BED.1090000@jenisch.at> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310060854.36772.bbobowski@cogeco.ca> Subject: Re: Multiple kernels on one machine? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2003 12:54:41 -0000 On October 6, 2003 12:11 pm, Ewald Jenisch wrote: > Hi, > > I'm currently in the process of upgrading my kernel (5.1). Afaik, every > time one installs a new kernel with "make installkernel" the old > /boot/kernel is moved to /boot/kernel.old thus overwriting the old > /boot/kernel.old. > > In order to keep a working kernel: Is it possible to *keep* an old > kernel by copying, say /boot/kernel.old to e.g. /boot/mykernel and then > via the boot-menu starting this kernel by > > unload > boot mykernel > > ?? > > If yes, can I simply copy (e.g. via tar | tar xpf..) the old kernel > directory to a new name or is there anything else I should consider? > > TIA for your help > -ewald As far as I know, this is not only possible, but recommended in the Handbook directions for building new kernels. That way, if you've done several rebuilds, you know you've got a working kernel around. I didn't find much in the way of specifics in the handbook, so the process might be as simple as you say(though I myself haven't yet figured out how to pipe a tar into an untar).