Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 101-500 topic 1 question 113 discussion

Actual exam question from LPI's 101-500
Question #: 113
Topic #: 1
[All 101-500 Questions]

When booting from the hard disk, a computer successfully loads the Linux kernel and initramfs but hangs during the subsequent startup tasks. The system is booted using a Linux based rescue CD to investigate the problem. Which of the following methods helps to identify the root cause of the problem?

  • A. Using the dmesg command from the rescue CD's shell to view the original system's boot logs.
  • B. Investigating the file /proc/kmsg on the computer's hard disk for possible errors.
  • C. Investigating the file /var/log on the computer's hard disk for possible errors.
  • D. Using chroot to switch to the file system on the hard disk and use dmesg to view the logs.
  • E. Rebooting again from the hard drive since the system successfully booted from the rescue CD.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
CuriousLinuxCat
Highly Voted 2 years, 8 months ago
During boot, the logs are stored in dmesg, but are later transferred to /var/logs when the boot has finished. In this example, it was successfully rebooted with a rescue disk, hence one needs to go look at /var/logs because your OS transferred it there!
upvoted 13 times
...
catita3
Most Recent 1 year, 1 month ago
I had a hard time with this one. All options are wrong to me, even option C. It says, "Investigating the file /var/log ...", but /var/log is not a file; it is a directory. It is not well written.
upvoted 1 times
...
napstervk
2 years, 8 months ago
dmesg es volatil, todo se queda guardado en log, SIEMPRE, log es lo primero
upvoted 3 times
...
iwkno6
2 years, 8 months ago
After dmesg writes the contents of the ring buffer, it ends up in /var/log/messages, hence within /var/log, so C is correct.
upvoted 3 times
...
Bodescu
2 years, 10 months ago
If you have a look to the dmesg, you will get the live system dmesg. So, need to chroot first, then, dmesg. D is the right answer :)
upvoted 3 times
...
sugisho
3 years, 5 months ago
The log after the initialization process by the kernel is completed cannot be found without looking at the / var / log / messages file.
upvoted 1 times
...
ilputto
3 years, 5 months ago
I think is C. the chroot might be also correct, but you will not able to use dmesg to troubleshoot the first boot process.
upvoted 2 times
...
ismael_1_
3 years, 7 months ago
la correcta es la D.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...