Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-29-2005, 03:39 PM   #1
LQ Newbie
Registered: Jun 2004
Posts: 15

Rep: Reputation: 0
How to log a Kernel Panic


I'm getting a Kernel Panic on a Debian system during startup. I have two options in the lilo bootmanager one causes the Kernel Panic the other works fine. How do I get the log files for the startup with the Kernel Panic? The system hangs on the Kernel Panic so I can't look into the log files then and rebooting will overwrite the log files. What's the workaround for this?

Thnx Bas
Old 11-29-2005, 04:00 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
Try to memorise/write down the error and post it here :)

vfs: root file system not found is quite common, that happens
e.g. if you compile the file-system for your setup as a module
rather than built-in. Similar effects if the hardware support for
the HDDs isn't built-in.

Old 11-30-2005, 10:36 AM   #3
LQ Newbie
Registered: Jun 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Memorizing hmmm.... Even if my memory wasn't the problem the text scrolls so fast that my eyes can't follow it. I was thinking, booting with the kernel panic and then booting Knoppix form CD. This would allow me to browse for the /var/log/dmesg isn't it?
Old 11-30-2005, 08:28 PM   #4
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,288

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Using dmesg is tricky -- if the panic happens early enough in the boot, say before the filesystems are mounted, then there will be no log written. One option is to set LILO or GRUB to use a serial console as the boot console and then hook a laptop up with a serial cable and use a terminal emulator to capture the boot. I've never actually done this, but I believe GRUB and LILO support it, try this howto.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 04:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 05:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 04:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 01:31 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration