CompTIA Linux+ (XK0-004) — Question 84
During the final step of staging new Linux hardware, GRUB2 is installed to the system drive. Which of the following BEST describes the role of GRUB2 in a new
Linux installation?
Answer options
- A. It provides a menu for creating administrator task shortcuts.
- B. It provides a menu for running special shell scripts.
- C. It provides a method to partition a hard drive.
- D. It provides a method to pass parameters to the Linux kernel on startup.
Correct answer: D
Explanation
The correct answer is D because GRUB2's primary function is to pass parameters to the Linux kernel during the boot process, allowing customization of the operating system's loading behavior. Options A and B relate to administrative tasks and shell scripts, which are not GRUB2's functions, while option C pertains to hard drive partitioning, a task performed before GRUB2 is relevant.