LPIC-1 System Architecture Practice Question
After a system upgrade, the server fails to boot with the error: 'ERROR: Failed to mount the real root device.' The root filesystem is on an LVM logical volume. Which recovery step is most appropriate?
⚠ Common exam trap
It's easy for candidates to confuse a missing initramfs module issue with a logical volume activation problem (Option B), but 'lvchange -ay' is only effective after the initramfs has loaded LVM support; without it, the kernel cannot even see the LVs to activate them.
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
✓
Boot from a live CD, chroot, and run 'update-initramfs -u -k all' to regenerate the initramfs with lvm2 support
The error 'Failed to mount the real root device' after a system upgrade indicates the initramfs lacks the necessary LVM modules (e.g., lvm2) to activate and mount the root logical volume. Regenerating the initramfs with 'update-initramfs -u -k all' rebuilds it to include LVM support, ensuring the kernel can locate and mount the root filesystem during boot.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Boot from a live CD, chroot, and run 'update-initramfs -u -k all' to regenerate the initramfs with lvm2 support
Why this is correct
The upgrade rebuilt the initramfs without the lvm2 hook, so the kernel cannot activate the volume group before mounting root. Booting a live CD and running update-initramfs -u -k all regenerates it with lvm2 support, restoring the ability to assemble the logical volume at boot.
- ✗
Run 'lvchange -ay' to activate all LVs
Why it's wrong here
`lvchange -ay` activates logical volumes, but if the volume group itself is not yet scanned or the initramfs lacks the LVM modules, activation alone leaves the root device absent. It is tempting because inactive LVs cause identical mount failures, and it would be correct when volumes exist but are simply marked inactive.
- ✗
Reinstall GRUB to the MBR
Why it's wrong here
Reinstalling GRUB to the MBR repairs bootloader-stage corruption, but the error arises after GRUB loads, when the initramfs cannot activate the LVM volume group to mount root. It would be correct if GRUB itself failed to load, showing a grub prompt or missing-stage error.
- ✗
Use 'fsck' on the root LV
Why it's wrong here
`fsck` repairs filesystem metadata, but the error occurs before the root LV is activated, so no block device exists for `fsck` to inspect. It is tempting after unclean shutdowns where corruption is suspected, yet the correct step is activating the logical volume so the kernel can locate the root device.
Go deeper
Related to this question
About these practice questions
Courseiva writes every LPIC-1 question from scratch — 402 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.