LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-22-2005, 09:11 PM   #1
minike
Member
 
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Rep: Reputation: 30
Question where is the boot-message logfile?


hi, friends... somewhere I read the boot messages (that's 'autoprobe'?) are saved in a a sort of logfile, but I don't know it name nor it location in the slack filesystem .. I was looking around here and there, but didn't found it.
the reason I want to read that file is to know what's / what's not working in my system.
thanks in advance
 
Old 05-22-2005, 09:18 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Generic system logs (including kernel output) are stored in /var/log/syslog and /var/log/messages.

If you just want to see the kernel boot messages as you saw them when the machine started up, run the command "dmesg" as soon as the machine starts up. That will show you all of the kernel's output.

If you want to save that to a file, just do:

dmesg > log.txt

Which will save the kernel boot messages to a text file you can open up later in an editor, or grep through to find a particular line.
 
Old 05-22-2005, 11:18 PM   #3
minike
Member
 
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Original Poster
Rep: Reputation: 30
thanks 4 answer..
I've followed your recipe, and it works just fine: now I have my bootmsg.txt..
but I notice it's not 'exactly' like the one showed during the system-loading process.. why I know that? 'coz I remember in that prosess the line: "...going multiuser..." and another like "....who needs to ismode?..." -or something like that.
do you know if exist anyhow to get an exact-copy of the message we're talking about?
thanks again!
 
Old 05-22-2005, 11:39 PM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
As far as I know, anything before the "INIT:" line, is actually a message that the kernel itself is displaying before the rest of the system starts up.

At that point, the log programs have not started, and the only thing running on the machine is just the bare kernel.

So as far as I know, nothing logs what is shown at that point. But I could be wrong about that.

Maybe somebody else knows of a way to see the messages shown before INIT?
 
Old 05-23-2005, 12:00 AM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
This is the message you're seeing from /etc/rc.d/rc.M:
Quote:
# Tell the viewers what's going to happen.
echo "Going multiuser..."
And if i'm not wrong, this clean up the dmesg buffer so previous stuff won't be displayed:
Quote:
# Save the contents of 'dmesg':
/bin/dmesg -s 65536 > /var/log/dmesg
That's also from rc.M, so basically things in rc.S won't be shown with a dmesg command but can be seen on /var/log/dmesg

Also if i'm not wrong, dmesg won't capture messages that are simply echoed to console like that "Going multiuser..."

Last edited by gbonvehi; 05-23-2005 at 12:07 AM.
 
Old 05-23-2005, 04:47 PM   #6
minike
Member
 
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Original Poster
Rep: Reputation: 30
ok, pals! gonna check all this stuff out.. -but first I'm going to bed: I'ts been a looooong day.....
 
  


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
Shell scripting: Print output to logfile, error to logfile & screen stefanlasiewski Programming 18 05-22-2008 12:47 PM
Boot up Message tommytomato Linux - General 7 05-16-2004 03:25 AM
Boot message [k jarin scott Linux - Hardware 2 07-05-2003 12:21 PM
li error and boot disk gives boot failure message Mr.Scum Linux - General 5 05-20-2003 10:41 AM
Boot message mjl1297 Linux - Software 1 01-12-2002 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:19 PM.

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