ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 117 - XK0-005 discussion

Report
Export

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?

A.
/etc/mtab
Answers
A.
/etc/mtab
B.
/dev/sda
Answers
B.
/dev/sda
C.
/etc/fstab
Answers
C.
/etc/fstab
D.
/ete/grub.conf
Answers
D.
/ete/grub.conf
Suggested answer: C

Explanation:

The file that will need to be modified for the server to be able to boot again is /etc/fstab. The /etc/fstab file is a file that contains the information about the file systems that are mounted at boot time on Linux systems. The file specifies the device name, mount point, file system type, mount options, dump frequency, and pass number for each file system. The error message indicates that the dependency failed for /data, which is a mount point for a file system. This means that the system could not mount the /data file system at boot time, which caused the system to enter the emergency mode. The emergency mode is a mode that allows the administrator to log in as the root user and perform basic tasks such as repairing the system. The administrator should modify the /etc/fstab file and check the entry for the /data file system. The administrator should look for any errors or inconsistencies in the device name, file system type, or mount options, and correct them. The administrator should also verify that the device and the file system are intact and functional by using commands such as blkid, fdisk, fsck, or mount. The administrator should then reboot the system and see if the issue is resolved. The file that will need to be modified for the server to be able to boot again is /etc/fstab. This is the correct answer to the question. The other options are incorrect because they are not related to the file systems that are mounted at boot time (/etc/mtab, /dev/sda, or /etc/grub.conf). Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 10:

Managing Storage, page 321.

asked 02/10/2024
marwan albahar
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first