Ubuntu Linux: View Boot Log

by on July 21, 2009 · 1 comment· last updated at July 21, 2010

How do I view detailed boot log of my Ubuntu system?

The dmesg command print or control the kernel ring buffer. You can also use files located in /var/log/ directory to see snapshot of boot messages. To see logs type the following command at shell prompt (open the terminal and type the commands):
$ dmesg | less
You can use the following two files as well:

  • /var/log/boot.log
  • /var/log/dmesg

To see them type:

less /var/log/boot.log
less /var/log/dmesg
grep error /var/log/dmesg
grep something /var/log/boot.log


You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 1 comment… read it below or add one }

1 Niklas May 16, 2012 at 10:49 am

On a Ubuntu/Debian, Bootlog is turned of by default. Turn it on like this:

vi /etc/default/bootlogd

# Run bootlogd at startup ?
BOOTLOGD_ENABLE=Yes

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <kbd> <blockquote> <pre> <a href="" title="">

Tagged as: , , , ,

Previous Faq:

Next Faq: