Monday, April 30, 2012

Ubuntu Linux: View Boot Log

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

No comments:

Post a Comment