LPIC-1 Exam 101 v5 (Linux Administrator) — Question 35

Which of the following commands installs the GRUB boot files into the currently active file systems and the boot loader into the first partition of the first disk?

Answer options

Correct answer: B

Explanation

The correct answer is B because it specifies the first partition of the first disk, /dev/sda1, which is where the GRUB boot loader should be installed. Option A installs GRUB to the entire disk instead of a specific partition, while options C, D, and E contain incorrect syntax or target the wrong partition for boot loader installation.