From owner-freebsd-questions Sun Feb 24 19:51:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 0846837B404 for ; Sun, 24 Feb 2002 19:51:21 -0800 (PST) Received: from hades.hell.gr (patr364-a01.otenet.gr [195.167.109.33]) by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g1P3obqO007472; Mon, 25 Feb 2002 05:50:54 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id g1P3nVX31208; Mon, 25 Feb 2002 05:49:31 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Mon, 25 Feb 2002 05:49:31 +0200 From: Giorgos Keramidas To: Jacob Rhoden Cc: freebsd-questions@freebsd.org Subject: Re: retrieving kernel file from memory Message-ID: <20020225034931.GB27425@hades.hell.gr> 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 In-Reply-To: <5.0.0.25.2.20020223190529.00a05120@pop.iprimus.com.au> User-Agent: Mutt/1.3.25i 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 2002-02-23 19:07, Jacob Rhoden wrote: > Hi, > > I know this is really stupid but . . . > > 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? > > I do remember thinking at the time, i should copy my kernel, and thinking, > no, why would I want to do that? hehe doh! Although not an answer to your question, check the output of this command: % sysctl kern.bootfile You might find it useful :) Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message