LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
How to log a Kernel Panic


Hi,

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, 03:00 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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.



Cheers,
Tink
 
Old 11-30-2005, 09:36 AM   #3
Basta
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, 07:28 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

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.
 
  


Reply



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 12:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:45 AM.

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