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:
Adblock detected 😱
My website is made possible by displaying online advertisements to my visitors. I get it! Ads are annoying but they help keep this website running. It is hard to keep the site running and producing new content when so many people block ads. Please consider donating money to the nixCraft via
PayPal/
Bitcoin, or become a
supporter using Patreon.
- /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 |
less /var/log/boot.log
less /var/log/dmesg
grep error /var/log/dmesg
grep something /var/log/boot.log
Posted by: Vivek Gite
The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.
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
hello, how to get boot log on boot remotly , i have a linux server in my office and i remote retart it but some times apache or mysql crach on boot time and i cant knew why i must go to my office and connect monitor to see the error,
is there any way to see live boot message ?
thank you