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/bootlogdYou’ll see the following lines:
# Run bootlogd at startup ?
BOOTLOGD_ENABLE=NoChange No to Yes:
# Run bootlogd at startup ?
BOOTLOGD_ENABLE=YesNow every time your computer restarts, a /var/log/boot file will be created.