From owner-freebsd-questions Sat Feb 23 2:34:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id B6D2E37B400 for ; Sat, 23 Feb 2002 02:34:34 -0800 (PST) Received: from [212.238.194.207] (helo=mailhost.raggedclown.net) by post.mail.nl.demon.net with esmtp (Exim 3.33 #1) id 16eZVh-0006Wy-00 for freebsd-questions@freebsd.org; Sat, 23 Feb 2002 10:34:33 +0000 Received: from angel.raggedclown.net (angel.raggedclown.intra [192.168.1.7]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [buffy]) with ESMTP id 5749F13040 for ; Sat, 23 Feb 2002 11:34:32 +0100 (CET) Received: by angel.raggedclown.net (Ragged Clown Host [angel], from userid 1005) id 541F422593; Sat, 23 Feb 2002 11:34:32 +0100 (CET) Date: Sat, 23 Feb 2002 11:34:32 +0100 From: Cliff Sarginson To: freebsd-questions@freebsd.org Subject: Re: retrieving kernel file from memory Message-ID: <20020223103432.GA5597@raggedclown.net> 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.27i 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: > 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! > I have you actually done make installkernel ? - If not then /kernel is still the kernel you are running - If so the /kernel.old is the previous kernel Are you running GENRIC ? You may have /kernel.GENERIC also. Give more details of exactly what you have done. You can always remake a GENERIC kernel. -- Regards Cliff Sarginson -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message