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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-07-2003, 01:10 PM
|
#1
|
Member
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268
Rep:
|
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
|
|
|
05-07-2003, 01:11 PM
|
#2
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
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
|
|
|
05-07-2003, 01:20 PM
|
#3
|
Member
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268
Original Poster
Rep:
|
Very handy. Thanks very much Crashed_Again .
JC
|
|
|
05-07-2003, 01:27 PM
|
#4
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
Oh yeah and there is a boot log file, or at least I have one, in /var/log/boot.log
|
|
|
05-07-2003, 01:28 PM
|
#5
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
If you're using the sysklogd daemon for logging, look in /var/log/messages for a total log.
|
|
|
05-07-2003, 01:48 PM
|
#6
|
Member
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268
Original Poster
Rep:
|
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
|
|
|
05-07-2003, 01:50 PM
|
#7
|
Member
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456
Rep:
|
everything gets written in the log file. even the things that failed
|
|
|
05-07-2003, 02:16 PM
|
#8
|
Member
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268
Original Poster
Rep:
|
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
|
|
|
05-07-2003, 02:58 PM
|
#9
|
LQ Newbie
Registered: Feb 2003
Posts: 7
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|