Please login or register.

Login with username, password and session length
Advanced search  


Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Boot.log Incomplete  (Read 4645 times)


  • Vectorian
  • ****
  • Posts: 1349
Boot.log Incomplete
« on: May 18, 2007, 09:04:57 pm »


I have been wondering for some time why my /var/log/boot.log is incomplete. It is cut at :

Initializing network
Setting up localhost ...                                           
Setting up route ...                                                 
Setting up firewall ...                                       
Caching fonts ...               

The console still shows additional entries, in my case even [failure], however, they do not show in the boot.log. And they run fast and are as well erased on the console once that penguin shows-up asking for a login.

Why is that and can it be corrected in order that the entire boot.log can be accessed?         


  • Vectorian
  • ****
  • Posts: 1132
Re: Boot.log Incomplete
« Reply #1 on: July 14, 2007, 04:34:57 pm »

I'd also like to find a solution to this.  I have the same issue happening during boot (i.e partial logging) and would like to fix this to log the entire boot process.  Also, I read a recent post here about someone trying to view a similar problem that flashed by so quick it couldn't be read, AND was not reflected in the boot.log or dmesg.  I don't see any kind of boot.log sections in my syslog.conf.  Any suggestions are welcome.

my syslog.conf reads as follows:
Code: [Select]
# /etc/syslog.conf
# For info about the format of this file, see "man syslog.conf"
# and /usr/doc/sysklogd/README.linux.  Note the '-' prefixing some
# of these entries;  this omits syncing the file after every logging.
# In the event of a crash, some log information might be lost, so
# if this is a concern to you then you might want to remove the '-'.
# Be advised this will cause a performation loss if you're using
# programs that do heavy logging.

# Uncomment this to see kernel messages on the console.
#kern.*                                                 /dev/console

# Log anything 'info' or higher, but lower than 'warn'.
# Exclude authpriv, cron, mail, and news.  These are logged elsewhere.
        authpriv.none;cron.none;mail.none;news.none     -/var/log/messages

# Log anything 'warn' or higher.
# Exclude authpriv, cron, mail, and news.  These are logged elsewhere.
        authpriv.none;cron.none;mail.none;news.none     -/var/log/syslog

# Debugging information is logged here.
*.=debug                                                -/var/log/debug

# Private authentication message logging:
authpriv.*                                              -/var/log/secure

# Cron related logs:
cron.*                                                  -/var/log/cron

# Mail related logs:
mail.*                                                  -/var/log/maillog

# Emergency level messages go to all users:
*.emerg                                                 *

# This log is for news and uucp errors:
uucp,news.crit                                          -/var/log/spooler

# Uncomment these if you'd like INN to keep logs on everything.
# You won't need this if you don't run INN (the InterNetNews daemon).
#news.=crit                                     -/var/log/news/news.crit
#news.=err                                      -/var/log/news/news.err
#news.notice                                    -/var/log/news/news.notice



  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1922
Re: Boot.log Incomplete
« Reply #2 on: July 14, 2007, 07:43:03 pm »

Well I am not a Linux guru but the way I understand the boot logging process is that /var/log/boot.log only logs up to the point where the /etc/rc.d/rc.M script finishes. Anything past that script is local configuration based stuff that exists in /etc/rc.d/rc4.d (or whatever boot level you have set your default to - for most folks that would be runlevel 4).  I understand that final loading of daemons is logged to the bottom of /var/log/messages. So you need to look at both those logs to get a complete picture.

"dmesg" only logs the kernel ring buffer - that is the initial hardware recognition processes of the kernel and this occurs before the boot scripts (such as rc.M) run.

Further understanding of the Linux boot process can be had by reading these gems:

« Last Edit: July 14, 2007, 07:53:36 pm by lagagnon »
"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll


  • Vectorian
  • ****
  • Posts: 1132
Re: Boot.log Incomplete
« Reply #3 on: July 15, 2007, 12:42:09 am »

Thank you for your input lagagnon.  You hit the nail on the head (i.e. information was found in 'messages') - and tought me something about the linux boot processes at the same time.  Thanks for providing the links for more detailed reading.

Cheers and Thanks again!!