LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Getting Messages Before Dmesg (https://www.linuxquestions.org/questions/linux-software-2/getting-messages-before-dmesg-279181/)

LinuxGeek 01-18-2005 03:18 AM

Getting Messages Before Dmesg
 
I'm currently on a linux machine and want to explain to a class of mine the boot process in depth. I understand it quite well, but wanted to show them how things are handled as the system boots (I'm using Red Hat). So for example, I wanted to show them all the messages that appear when the system boots, not just the contents of dmesg. I want to show them lines such as:
Code:

INIT v...
and then the rc.sysinit part:
Code:

Welcome to Red Hat ....[Press I to enter interactive ...]
However, since these are not displayed is dmesg and they go off the screen, I'm not sure how I can get some type of file with all the content that is displayed to the screen. Any ideas? Thanks for your time.

DaneM 01-18-2005 05:11 AM

Hi LinuxGeek.

Look in /var/log/messages. (You have to be root to view it, I think.)

Good luck!

LinuxGeek 01-18-2005 07:10 AM

Thanks but this isn't quite what I'm looking for. I'm looking for something to get me everything that was outputted to the screen before I was given the log in prompt. So it would include things such as
I
INIT: Entering runlevel: 3
and
Starting xfs: [ OK ]


All times are GMT -5. The time now is 04:53 AM.