Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Oct 2005 16:55:09 -0700
From:      Micah <micahjon@ywave.com>
To:        Mark Cullen <mark.r.cullen@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: booting original kernel
Message-ID:  <4349ADDD.8060004@ywave.com>
In-Reply-To: <4349A836.8010808@gmail.com>
References:  <HIEOJNPOIAMPHIFLGEECCEFPCCAA.siriphan@maipai.plus.com> <4349A5AD.4070903@ywave.com> <4349A836.8010808@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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