Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2002 14:17:24 +0100
From:      Florian Nigsch <flo@nigsch.com>
To:        Jacob Rhoden <f3z@iprimus.com.au>, freebsd-questions@freebsd.org
Subject:   Re: retrieving kernel file from memory
Message-ID:  <20020223141724.D11409@nigsch.com>
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 %2B1100
References:  <5.0.0.25.2.20020223190529.00a05120@pop.iprimus.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <flo@nigsch.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020223141724.D11409>