linux 記錄系統啓動的信息
linux
You need to use the bootlogd to record boot messages to a file called /var/log/boot. However, this is turned off by default. Edit /etc/default/bootlogd, enter:ubuntu
# vi /etc/default/bootlogd
ide
To run bootlogd at startup set it as follows:this
BOOTLOGD_ENABLE=yes
After reboot you can see message in /var/log/boot:spa
# tail -f /var/log/boot
OR
# egrep -iw 'word1|err|warn' /var/log/boot
code
原文:http://www.cyberciti.biz/faq/debian-ubuntu-record-boot-messages/
ci