Debianでbootログを確認したい †Debian起動時にエラー等が出力されている内容を確認しようと思い、 使用環境 †$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.7 (jessie) Release: 8.7 Codename: jessie journalctlを使用する †journalctlを使用することにより、起動時のログ(出力)を確認することができます。 journalctlのヘルプを見ると以下のように-bオプションがあります。 # journalctl --help journalctl [OPTIONS...] [MATCHES...] Query the journal. Flags: <snip> -b --boot[=ID] Show data only from ID or, if unspecified, the current boot --list-boots Show terse information about recorded boots オプション-bを使用することにより、起動時の出力を確認することができます。 journalctl -b 以上、Debianで起動時のブートログ(出力)を確認する方法でした。 |