So What’s the "CompTIA-Correct" Answer?
According to CompTIA exam philosophy:
F. Boot system on a LiveCD/ISO → ✔️ Absolutely correct and expected
A. grub-install --root-directory=/mnt and reboot → ✔️ Also correct in the eyes of the exam
⚠️ Why Not B on the Exam?
grub-install /dev/sdX assumes a working mount or chroot — CompTIA wants the “safe, explicit method”.
They want to see you understand the full GRUB repair process:
Boot LiveCD
Mount system manually
Use --root-directory=/mnt to avoid chrooting
Even though B is technically valid, CompTIA tends to prefer explicit and less assumption-based commands.
B. Execute grub-install /dev/sdX and reboot.
This command reinstalls the GRUB bootloader on the specified disk (/dev/sdX). Replace /dev/sdX with the appropriate device identifier for the system's boot disk (e.g., /dev/sda, /dev/nvme0n1).
After executing the command, reboot the system and check if it successfully boots.
F. Boot the system on a LiveCD/ISO.
Booting the system from a LiveCD/ISO allows you to access the system's filesystem and repair the GRUB bootloader.
Once booted into the LiveCD/ISO environment, you can mount the system's root partition, chroot into it, and then reinstall GRUB using the appropriate commands (e.g., grub-install and update-grub).
After performing the necessary repairs, restart the system and check if it boots correctly.
B. Execute grub-install /dev/sdX and reboot.
This action involves reinstalling the GRUB bootloader on the specified device (/dev/sdX). By reinstalling GRUB, it can help resolve any issues related to the bootloader and allow the system to boot successfully.
F. Boot the system on a LiveCD/ISO.
Booting the system using a LiveCD/ISO allows accessing the system's filesystem from an external environment. Once booted into the LiveCD/ISO, you can perform various troubleshooting steps such as checking the filesystem, repairing any errors, or modifying configuration files if necessary.
Option F "Boot the system on a LiveCD/ISO" would help along with option B, as booting the system on a LiveCD/ISO would allow the administrator to access the file system and make necessary changes to fix the issue.
Additionally, the administrator could use the bootable LiveCD/ISO to run the grub-install command with the appropriate arguments, such as "/dev/sdX" (Option B), to install GRUB on the appropriate disk. This would help resolve the issue with the missing partition and allow the system to boot properly.
This section is not available anymore. Please use the main Exam Page.XK0-005 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
hackeriam1
1Â day, 17Â hours agoRob74613
4Â months, 2Â weeks agoLKRISB
5Â months agolinux_admin
8Â months, 1Â week agoKnifeClown1
8Â months, 1Â week agoCkl22
9Â months, 3Â weeks agoTheRealManish
10Â months, 4Â weeks ago