ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 88 - XK0-005 discussion

Report
Export

A Linux system is failing to boot with the following error:

Which of the following actions will resolve this issue? (Choose two.)

A.
Execute grub-install --root-directory=/mnt and reboot.
Answers
A.
Execute grub-install --root-directory=/mnt and reboot.
B.
Execute grub-install /dev/sdX and reboot.
Answers
B.
Execute grub-install /dev/sdX and reboot.
C.
Interrupt the boot process in the GRUB menu and add rescue to the kernel line.
Answers
C.
Interrupt the boot process in the GRUB menu and add rescue to the kernel line.
D.
Fix the partition modifying /etc/default/grub and reboot.
Answers
D.
Fix the partition modifying /etc/default/grub and reboot.
E.
Interrupt the boot process in the GRUB menu and add single to the kernel line.
Answers
E.
Interrupt the boot process in the GRUB menu and add single to the kernel line.
F.
Boot the system on a LiveCD/ISO.
Answers
F.
Boot the system on a LiveCD/ISO.
Suggested answer: B, F

Explanation:

The administrator should do the following two actions to resolve the issue:

Boot the system on a LiveCD/ISO. This is necessary to access the system and repair the boot loader. A LiveCD/ISO is a bootable media that contains a Linux distribution that can run without installation. The administrator can boot the system from the LiveCD/ISO and mount the root partition of the system to a temporary directory, such as /mnt.

Execute grub-install /dev/sdX and reboot. This will reinstall the GRUB boot loader to the disk device, where sdX is the device name of the disk, such as sda or sdb. The GRUB boot loader is a program that runs when the system is powered on and allows the user to choose which operating system or kernel to boot. The issue is caused by a corrupted or missing GRUB boot loader, which prevents the system from booting. The command grub-install will restore the GRUB boot loader and fix the issue.

The other options are incorrect because they either do not fix the boot loader (interrupt the boot process in the GRUB menu or fix the partition modifying /etc/default/grub) or do not use the correct syntax (grub-install --root-directory=/mnt instead of grub-install /dev/sdX or rescue or single instead of recovery in the GRUB menu). Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 8: Managing the Linux Boot Process, pages 265-266.

asked 02/10/2024
Suman Konda
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first