Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Oct 2005 16:20:13 -0700
From:      Micah <micahjon@ywave.com>
Cc:        freebsd-questions@freebsd.org, Sudheer Gupta <sudheer.gupta@gmail.com>
Subject:   Re: booting original kernel
Message-ID:  <4349A5AD.4070903@ywave.com>
In-Reply-To: <HIEOJNPOIAMPHIFLGEECCEFPCCAA.siriphan@maipai.plus.com>
References:  <HIEOJNPOIAMPHIFLGEECCEFPCCAA.siriphan@maipai.plus.com>

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



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