Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?
Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?
To install GRUB 2 into the master boot record, the correct command is grub-install /dev/sdc. This command is used to install the GRUB bootloader to the specified device, and it functions for both GRUB and GRUB 2, ensuring compatibility regardless of the specific version being used.
A. NO the right command is:# grub2-install /dev/sda B. NO it's for create bootable device C. NO does not exist D. NO does not exist E. YES it's the right command also on Grub2 system
It's good to remember that unlike GRUB Legacy, you don't need to install GRUB2. all you do is rebuild the main installation file. This is done by running either grub-mkconfig or grub2-mkconfig.
It should be option A, but they missed the dash (-) in between grub2-install grub-install will work only for grub, not for grub2 https://unix.stackexchange.com/questions/183053/grub-install-command-not-found
So, maybe the Answer something wrong
grub-install is correct on debian (man grub-install) grub-install (GRUB) 2.02+dfsg1-20+deb10u4
#grup2-install is a right answer, but "grup2 install" is not correct, there is no "-" sign between
it seems to be a typo error in answer A is "grub2-install" and not "grub2 install" right answer A!!!
why not rep A ??
To install GRUB2, the correct command is grub-install /dev/sdc. The command grub2 install /dev/sdc is not the correct syntax. The grub-install command is used to install the GRUB bootloader to the Master Boot Record (MBR) of the specified device, in this case, /dev/sdc. (says GPT)
Answer: E