LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-26-2012, 05:36 PM   #1
keithostertag
Member
 
Registered: Jul 2011
Location: Harrisburg, PA
Posts: 127

Rep: Reputation: Disabled
How to activate bootlogd? or capture bootup messages the current/modern way?


In attempting to solve some problems I need to capture the console output on bootup. These are messages that evidently don't make it into dmesg or any other log file I can find. I'm guessing these are kernel messages that occur before dmesg and other logs are started? Since they flash by fast I can only see that they are colored, like warnings and errors. Searching dmesg does not find them all. One has to do with fstab.

In researching the use of bootlogd I came upon this previous thread:

http://www.linuxquestions.org/questi...otlogd-918962/

The upshot of that thread is that CONFIG_LEGACY_PTYS needs to be enabled in the kernel.

Well, I don't want to compile a kernel (at this time), and evidently bootlogd is no longer used (much)?

So, what is the current, modern way to capture bootup messages? Is there some other program that has replaced bootlogd? Or?

Running LMDE with recent kernel (3.2 something).

Thanks,
Keith Ostertag
 
Old 12-27-2012, 10:44 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
LM has disabled a lot of logging by default. But I like to be able to read /var/log/messages

Basically, you need to edit /etc/rsyslog.d/50-default.conf

This post has the easy way to reenable message logging (don't worry that it refers to ubuntu 11.04, the principles are the same for LMDE).
 
Old 12-27-2012, 03:22 PM   #3
keithostertag
Member
 
Registered: Jul 2011
Location: Harrisburg, PA
Posts: 127

Original Poster
Rep: Reputation: Disabled
Hi- Thanks for the suggestion. I looked that webpage over, and that's not my problem- my /etc/rsyslog.conf does not have /var/log/messages commented out.

I think I need to better learn the various log files, and how to use grep better.

I later found some of the messages I was looking for in /var/log/kern.log, some in /var/log/apt/term, etc, for instance.

Keith Ostertag
 
Old 12-27-2012, 08:08 PM   #4
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
Early boot messages are usually available via dmesg.

You can also slow down the messages by adding the following option to your kernel command line
Code:
boot_delay=N
where N = msecs delay between each console message.

Last edited by fpmurphy; 12-27-2012 at 08:11 PM.
 
  


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
[SOLVED] How to activate bootlogd raypen Slackware 9 12-17-2011 11:05 AM
Bootup error messages jchorn Mandriva 1 11-12-2006 01:47 PM
How to activate private messages option winxandlinx LQ Suggestions & Feedback 2 05-16-2006 12:06 AM
Is there a log for all the bootup messages? Akhran Linux - Newbie 3 11-20-2005 08:43 PM
SuSE 9: How to re-activate graphical bootup? Meowatilla Linux - Newbie 7 03-26-2004 09:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:10 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