nerdexam
CompTIA

XK0-005 · Question #483

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…

The correct answer is C. /etc/fstab. The boot error indicates that the /data filesystem failed to mount, causing a systemd dependency failure and dropping the system into emergency mode. The /etc/fstab file defines which filesystems are mounted at boot and their options. A wrong device path, UUID, or mount option…

Troubleshooting

Question

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?

Options

  • A/etc/mtab
  • B/dev/sda
  • C/etc/fstab
  • D/ete/grub.conf

How the community answered

(40 responses)
  • A
    5% (2)
  • B
    3% (1)
  • C
    83% (33)
  • D
    10% (4)

Explanation

The boot error indicates that the /data filesystem failed to mount, causing a systemd dependency failure and dropping the system into emergency mode. The /etc/fstab file defines which filesystems are mounted at boot and their options. A wrong device path, UUID, or mount option in /etc/fstab for the /data entry would cause exactly this error. Option A (/etc/mtab) is a runtime file reflecting current mounts. Option B (/dev/sda) is a device node, not a config file. Option D (/etc/grub.conf) controls the bootloader, which is unrelated to filesystem mounting failures.

Topics

#Linux boot process#Filesystem mounting#fstab#Emergency mode

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice