XK0-005 · Question #461
A Linux system is failing to boot with the following error: Which of the following actions will resolve this issue? (Choose two.)
The correct answer is B. Execute grub-install /dev/sdX and reboot. F. Boot the system on a LiveCD/ISO. 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…
Question
A Linux system is failing to boot with the following error:
Which of the following actions will resolve this issue? (Choose two.)
Options
- AExecute grub-install --root-directory=/mnt and reboot.
- BExecute grub-install /dev/sdX and reboot.
- CInterrupt the boot process in the GRUB menu and add rescue to the kernel line.
- DFix the partition modifying /etc/default/grub and reboot.
- EInterrupt the boot process in the GRUB menu and add single to the kernel line.
- FBoot the system on a LiveCD/ISO.
How the community answered
(33 responses)- A6% (2)
- B79% (26)
- C3% (1)
- D12% (4)
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.
Topics
Community Discussion
No community discussion yet for this question.