Exam4Training

Which of the following actions will resolve this issue?

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.
B . Execute grub-install /dev/sdX and reboot.
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.
E . Interrupt the boot process in the GRUB menu and add single to the kernel line.
F . Boot the system on a LiveCD/ISO.

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.

Latest XK0-005 Dumps Valid Version with 136 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version