起動時に表示されるテキストはどこで見ることができますか?

起動時に表示されるテキストはどこで見ることができますか?

起動時には 3 つの段階があります。

  1. grubの前に、何かが見つからないという2行のテキストが点滅します
  2. それから、grubメニューがあります
  3. その後、通常の起動プロセスが実行されます

Ubuntu サーバー 12.04 LTS では、ステージ 1 と 3 中に表示されるすべてのテキストはどのログで確認できますか?

答え1

Linuxでステージ1を見つけるのはおそらく無理でしょう。前にgrub はインストールされている OS とは関係ありません。BIOS のログで見つけられるかもしれません。

ステージ 3 については、そのテキストは にあります/var/log/boot.log。たとえば、これが私の最初の 20 行です (もちろん、あなたのものは異なります)。

$ head -20 /var/log/boot.log 
Scanning for Btrfs filesystems
resume: libgcrypt version: 1.5.3
[e4rat-preload] Open /var/lib/e4rat/startup.log ... 
[e4rat-preload] 6693 files scanned
[e4rat-preload] Pre-loading I-Nodes ...
[e4rat-preload] Execute `/sbin/init' ...
[e4rat-preload] Pre-loading file content ...
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[e4rat-preload] Successfully transferred files into page cache
[ ok ] Reading early boot files....
[ ok ] Starting the hotplug events dispatcher: udevd.
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[....] Checking root file system...fsck from util-linux 2.20.1
/dev/sda7: clean, 581416/4505600 files, 6554372/18013696 blocks
done.
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.20.1

関連情報