
부팅 중에는 세 가지 단계가 있습니다.
- grub 이전에는 무언가를 찾을 수 없다는 내용이 깜박이는 두 줄의 텍스트가 있습니다.
- 그런 다음 그럽 메뉴가 있습니다
- 그런 다음 정상적인 부팅 프로세스가 있습니다.
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