LPIC-1 Exam 101 v5 (Linux Administrator) — Question 50
Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?
Answer options
- A. grub2 install /dev/sdc
- B. grub-mkrescue /dev/sdc
- C. grub-mbrinstall /dev/sdc
- D. grub-setup /dev/sdc
- E. grub-install /dev/sdc
Correct answer: E
Explanation
The command 'grub-install /dev/sdc' is the correct option because it specifically installs GRUB 2 to the specified drive. The other options either do not exist or are used for different purposes, such as creating a rescue image or setting up GRUB in a different context.