From owner-freebsd-questions@FreeBSD.ORG Sun Oct 9 23:55:11 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 7DBAF16A41F for ; Sun, 9 Oct 2005 23:55:11 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: from smtpout1.ywave.com (ycomradius.yelmtel.com [216.227.100.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 2FF3643D46 for ; Sun, 9 Oct 2005 23:55:10 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: (qmail 2118 invoked by uid 502); 9 Oct 2005 23:55:09 -0000 Received: from dsl28217.ywave.com (HELO ?192.168.1.65?) (micahjon@ywave.com@216.227.115.217) by 0 with SMTP; 9 Oct 2005 23:55:09 -0000 X-CLIENT-IP: 216.227.115.217 X-CLIENT-HOST: dsl28217.ywave.com Message-ID: <4349ADDD.8060004@ywave.com> Date: Sun, 09 Oct 2005 16:55:09 -0700 From: Micah User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050930) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Cullen References: <4349A5AD.4070903@ywave.com> <4349A836.8010808@gmail.com> In-Reply-To: <4349A836.8010808@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: booting original kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Oct 2005 23:55:11 -0000 Mark Cullen wrote: > Micah wrote: > >> Siriphan Brigder wrote: >> >>> This page from the handbook will hopefully help you: >>> >>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-troub >>> >>> le.html >>> >>> Good luck! >>> >>> -----Original Message----- >>> From: owner-freebsd-questions@freebsd.org >>> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Sudheer Gupta >>> Sent: 09 October 2005 22:51 >>> To: freebsd-questions@freebsd.org >>> Subject: booting original kernel >>> >>> >>> Hi >>> >>> I am using 4.1 BSD. >>> Made few changes to the kernel and compiled it. When trying to reboot >>> using >>> the modified kernel, it throwed some page faults. >>> So, i booted using the older config namely kernel.old. >>> I again made few changes and recompiled the kernel with a new config. >>> Now, trying to boot the kernel, it neither boots with the latest nor the >>> older one. >>> >>> How do I boot with original configuration ?? >>> >>> Regards >>> Sudheer >> >> >> >> From the sounds of it, when you compiled your second kernel your >> kernel.old (the original generic kernel) was overwritten by your >> broken kernel leaving you with two broken kernels and no working >> kernels to boot from. If that's what happened you either need to >> reinstall FreeBSD or boot the install/rescue cd and try to copy the >> generic kernel from it. >> >> That handbook page has a lot of good information, but most of it is >> preventative. The best suggestion is to always keep a working copy of >> the kernel seperate from the kernel.old that FreeBSD makes for you. >> >> HTH >> Micah > > Isn't there also /kernel.GENERIC that gets installed? > Not on any of the 5.x releases that I've installed, at least not by default. Maybe other releases? Micah