LPIC-1 Devices, Filesystems and FHS Practice Question
Exhibit
Exhibit: /etc/fstab content: UUID=abc123 / ext4 defaults 1 1 UUID=def456 /boot ext3 defaults 1 2 UUID=ghi789 none swap sw 0 0 /dev/cdrom /mnt/cdrom auto noauto,user 0 0
Refer to the exhibit. On boot, which filesystem will be checked first by fsck?
⚠ Common exam trap
Test-takers frequently assume the /boot filesystem is checked first because it contains the kernel and bootloader, but the root filesystem is always checked first due to its fs_passno=1 setting in /etc/fstab.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The root filesystem (/)
The root filesystem (/) is checked first by fsck because it is mounted read-only during the initial boot phase, and fsck must verify its integrity before the system can proceed to mount other filesystems. The order of filesystem checks is determined by the fs_passno field in /etc/fstab, where the root filesystem typically has a passno of 1, ensuring it is checked before any filesystem with a higher passno value.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The swap partition
Why it's wrong here
Incorrect: Swap has passno 0, which disables checks.
- ✓
The root filesystem (/)
Why this is correct
Correct: Root has passno 1, checked first.
- ✗
The CD-ROM device
Why it's wrong here
Incorrect: CD-ROM has passno 0, not checked.
- ✗
The /boot filesystem
Why it's wrong here
Incorrect: /boot has passno 2, checked after root.
Go deeper
Related to this question
About these practice questions
This LPIC-1 question is part of Courseiva's 527-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LPIC-1 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-1 exam.