Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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 (?) , you can switch to a simple comment.
Switch to a voting comment New
McLaba
Highly Voted 3 years 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 16 times
...
JilN
Highly Voted 2 years, 11 months 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 weeks, 5 days ago
Answer: E
upvoted 1 times
...
XVO668
11 months, 2 weeks 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 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 ago
grub-install is correct on debian (man grub-install) grub-install (GRUB) 2.02+dfsg1-20+deb10u4
upvoted 4 times
...
mriron
3 years, 4 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, 4 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 ago
So, maybe the Answer something wrong
upvoted 1 times
...
...
Doudou92i
3 years, 4 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 ...