LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-07-2003, 01:10 PM   #1
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Rep: Reputation: 30
Question Does Linux write what happens at boot to a file ? I can't find anything in var/log .


If this file does exist, where is it ? If it does not exist, how do you create it ?


JC
 
Old 05-07-2003, 01:11 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
You can use the command:

dmesg

to find out what happened at boot. If you want to send the ouput to a file do:

dmesg > dmesg.txt
 
Old 05-07-2003, 01:20 PM   #3
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Original Poster
Rep: Reputation: 30
Very handy. Thanks very much Crashed_Again .

JC
 
Old 05-07-2003, 01:27 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Oh yeah and there is a boot log file, or at least I have one, in /var/log/boot.log
 
Old 05-07-2003, 01:28 PM   #5
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
If you're using the sysklogd daemon for logging, look in /var/log/messages for a total log.
 
Old 05-07-2003, 01:48 PM   #6
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Original Poster
Rep: Reputation: 30
Ok, I found the ' messages ' file in /var/log . And with Crushed_Again's tip I also created my own in the same directory called ' boot.txt ' . After looking at it, I now know why I couldn't find what I was looking for. It only seems to write what successfully happened at boot up.

What I'm looking for now is a way to look at what didn't go right at boot up. On boot, a message flashes by, something about an "NLS module " not loading.

What I'm really trying to do is clean things up now. I want to investigate the things that are going wrong at boot up.

Is there a file that gets written upon boot that has the things that failed ?

Thanks alot.

JC
 
Old 05-07-2003, 01:50 PM   #7
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
everything gets written in the log file. even the things that failed
 
Old 05-07-2003, 02:16 PM   #8
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Original Poster
Rep: Reputation: 30
Alright then, something strange is going on then. What I see at boot up is three messages that say something about "nls module", yet it doesn't show up in my ' messages ' file.

I found on Google that "NLS" is support for other languages. When I see these messages about not being able to load NLS, the appear after each of my FAT disks upon bootup. What I think is happening is some type of character support is trying to be loaded for each of my FAT partitions.

Anyone got any ideas ? It happens real fast on my computer (1.7Ghz) so I can't see it real well. But I know for certain that this is not showing up in my ' var/log/messages ' file. I asked the file manager to find "nls" and it finds nothing. Manual inspection turns up nothing as well.

Anyone got any ideas ?

Thanks,

JC
 
Old 05-07-2003, 02:58 PM   #9
petway56
LQ Newbie
 
Registered: Feb 2003
Posts: 7

Rep: Reputation: 0
Maybe try:

cat /var/log/message | grep nls
and
cat /var/log/message | grep NLS
as it's case sensitive.
Try the same with the other boot logs you spoke of.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/var/log/boot.log doesn't exist??? big_gie Fedora 5 05-17-2008 05:44 AM
my nVidia log file from /var paulinimus Linux - General 1 09-02-2004 07:55 AM
How to control log file size in /var/log? yan Linux - General 2 10-13-2003 05:00 PM
iptables, changing log file from /var/log/messages acid2000 Linux - Networking 3 03-11-2003 08:38 PM
/var/log/messages file jimval7 Linux - Security 5 07-22-2002 12:32 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration