From owner-freebsd-questions Sat Feb 23 5:17:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ulixes.esc.ac.at (ulixes.esc.ac.at [193.170.216.34]) by hub.freebsd.org (Postfix) with ESMTP id B2F6437B400 for ; Sat, 23 Feb 2002 05:17:27 -0800 (PST) Received: from ulixes.esc.ac.at (localhost.esc.ac.at [127.0.0.1]) by ulixes.esc.ac.at (8.12.2/8.12.2) with ESMTP id g1NDHPHr012040; Sat, 23 Feb 2002 14:17:25 +0100 (CET) (envelope-from flo@ulixes.esc.ac.at) Received: (from flo@localhost) by ulixes.esc.ac.at (8.12.2/8.12.2/Submit) id g1NDHOvQ012039; Sat, 23 Feb 2002 14:17:24 +0100 (CET) (envelope-from flo) Date: Sat, 23 Feb 2002 14:17:24 +0100 From: Florian Nigsch To: Jacob Rhoden , freebsd-questions@freebsd.org Subject: Re: retrieving kernel file from memory Message-ID: <20020223141724.D11409@nigsch.com> References: <5.0.0.25.2.20020223190529.00a05120@pop.iprimus.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <5.0.0.25.2.20020223190529.00a05120@pop.iprimus.com.au>; from f3z@iprimus.com.au on Sat, Feb 23, 2002 at 07:07:27PM +1100 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 Sat, Feb 23, 2002 at 07:07:27PM +1100, Jacob Rhoden wrote: > I recompiled my kernel twice, then thought it might be a nice idea to have > a copy of the old kernel in case the system didn't boot properly. Is there > a (simpleish) way to get a copy of the current kernel in memory back on disk? ---end quoted text--- The kernel you are running is /kernel unless you specified another kernel in the boot-process by the boot-loader. If you want have a kernel of which you know that it runs and you want to keep it for later purposes you can always copy it's file (/kernel) to another file, let's say /kernel.good. In case you install a new kernel as your default kernel (/kernel) the current kernel is saved for you in /kernel.old flo -- --- Florian Nigsch http://flo.nigsch.com/ PGP key: http://flo.nigsch.com/fnigsch.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message