LPIC-2 Exam 201 (Linux Engineer) — Question 16
Which command is used to install a GRUB boot loader into the master boot record?
Answer options
- A. grub-install
- B. grub-mkconfig
- C. grub-install-mbr
- D. grub-glue-mbr
- E. grub-mbr-setup
Correct answer: A
Explanation
The correct answer is A, grub-install, which is specifically designed to install the GRUB boot loader in the master boot record. The other options, such as grub-mkconfig, are used for generating configuration files, while grub-install-mbr, grub-glue-mbr, and grub-mbr-setup are not standard or valid commands for this purpose.