exam questions

Exam 101-500 All Questions

View all questions & answers for the 101-500 exam

Exam 101-500 topic 1 question 29 discussion

Actual exam question from LPI's 101-500
Question #: 29
Topic #: 1
[All 101-500 Questions]

Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?

  • 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
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
McLaba
Highly Voted 3 years, 3 months ago
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
upvoted 17 times
...
JilN
Highly Voted 3 years, 1 month ago
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.
upvoted 8 times
...
Ninymo
Most Recent 3 months, 3 weeks ago
Answer: E
upvoted 2 times
...
XVO668
1 year, 2 months ago
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)
upvoted 1 times
...
fproof
3 years, 3 months ago
it seems to be a typo error in answer A is "grub2-install" and not "grub2 install" right answer A!!!
upvoted 2 times
...
aMiPL
3 years, 3 months ago
grub-install is correct on debian (man grub-install) grub-install (GRUB) 2.02+dfsg1-20+deb10u4
upvoted 4 times
...
mriron
3 years, 7 months ago
#grup2-install is a right answer, but "grup2 install" is not correct, there is no "-" sign between
upvoted 2 times
...
demarko
3 years, 7 months ago
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
upvoted 4 times
HieuNguyen887
3 years, 3 months ago
So, maybe the Answer something wrong
upvoted 1 times
...
...
Doudou92i
3 years, 7 months ago
why not rep A ??
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago