booting original kernel

2005-10-09 Thread Sudheer Gupta
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: booting original kernel

2005-10-09 Thread Siriphan Brigder

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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
--
This email has been verified as Virus free
Virus Protection and more available at http://www.plus.net
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.13/126 - Release Date: 09/10/2005

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.13/126 - Release Date: 09/10/2005

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: booting original kernel

2005-10-09 Thread Micah

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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: booting original kernel

2005-10-09 Thread Mark Cullen

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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]




Isn't there also /kernel.GENERIC that gets installed?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: booting original kernel

2005-10-09 Thread Micah

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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]