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?
A. grub-install /dev/sda
B. grub-install /dev/sda1
C. grub-install current /dev/sda0
D. grub-install /dev/sda0
E. grub-install current /dev/sda1
Correct answer is A. You don’t have to specify the partition. Grub-install will do that automatically
/sbin/grub2-install /dev/sda1 Installs GRUB 2 in the first primary first partition of the first SATA/SCSI hard disk
The question is: … into the first partition of the first hard disk.
But this should be /dev/sda1. In this case the answer B would be correct, wouldn’t it?