Here is a quick Linux tip to log your boot messages in Ubuntu. This is great for checking for any errors or failed startups that may be happening during boot.
Edit /etc/default/bootlogd:
You’ll see the following lines:
# vi /etc/default/bootlogd
You’ll see the following lines:
# Run bootlogd at startup ?
BOOTLOGD_ENABLE=No
Change No to Yes:
# Run bootlogd at startup ?
BOOTLOGD_ENABLE=Yes
Now every time your computer restarts, a /var/log/boot file will be created.