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 |
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 |
Very handy. Thanks very much Crashed_Again .
JC |
Oh yeah and there is a boot log file, or at least I have one, in /var/log/boot.log
|
If you're using the sysklogd daemon for logging, look in /var/log/messages for a total log.
|
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 |
everything gets written in the log file. even the things that failed
|
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 |
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 05:30 PM. |