LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kernel error? (https://www.linuxquestions.org/questions/linux-software-2/kernel-error-418137/)

LasseBob 02-21-2006 04:49 PM

kernel error?
 
Hi

I have just tried to build my first kernel. I have followed various how-tos and the process seemed to go as it should. But when i set grub to boot the new kernel i get absolutely no output, just a blank screen and then a reboot. How on earth can i find out where i went wrong??

Best regards,
Lasse

bigrigdriver 02-21-2006 05:28 PM

If you can still boot the old working kernel, boot into that. Then cd to /var/log. Check the contents of messages, mail, mail.warn, mail.err, etc.

Since the errors, if any are recorded, will be before the latest boot, pipe the cat command through tail to see the messages from the end of the file rather than the beginning.

Someting like: cat messages | tail -n 200

That would show the last 200 lines of messages. If the time stamp isn't for the earlier attempt to boot the new kernel, adjust the -n number to a higher number until you get to the lines for the attempt to boot the new kernel.

Check whatever logs you have. Hopefully there will be information about the boot failure.


All times are GMT -5. The time now is 04:09 PM.