Question 21 · 300 in bank
A Linux system is failing to boot. The following error is displayed in the serial console: [[1;33mDEPEND[Om] Dependency failed for /data. [[1;33mDEPEND[Om] Dependency failed for Local File Systems ... Welcome to emergency mode! After logging in, type "journalctl -xb" to viewsystem logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode. Give root password for maintenance (or type Control-D to continue} Which of the following files will need to be modified for this server to be able to boot again?
Show answer
Answer: C
Explanation
Based on the error message and symptoms described, the file that needs to be modified for this server to be able to boot again is option C, /etc/fstab. The error message indicates that the system is failing to start the /data partition, which is causing the system to go into emergency mode and preventing it from booting. The /data partition is most likely defined in the /etc/fstab file, which contains information about the file systems that are mounted at boot time.
Source: Adapted from community discussion — linux_admin