如何记录启动消息?


8

我正在尝试检查/var/log/bootUbuntu 8.10和9.10上文件中的启动日志消息,但发现该消息中没有内容(Nothing has been logged yet.)。该bootlogd服务正在启动时运行。

我更改了文件 vim /etc/default/bootlogd

# Run bootlogd at startup ?
BOOTLOGD_ENABLE=No

Change No to Yes:

# Run bootlogd at startup ?
BOOTLOGD_ENABLE=Yes

我也是这样 你尝试过dmesg吗?
丹尼尔(Daniel)2010年

Answers:


0

我也是。AFAIK,/ var / log / dmesg具有启动消息。守护程序初始化后,程序bootlog将发送到/ dev / console设备的所有字符串复制到/ var / log / boot。来自内核引导的消息在dmesg中。


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.