exam questions

Exam 101-400 All Questions

View all questions & answers for the 101-400 exam

Exam 101-400 topic 2 question 1 discussion

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

After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?

  • A. kill -HUP $(pidof grub)
  • B. grub-install
  • C. grub
  • D. No action is required
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
DuboisNicolasDuclair
1 year, 4 months ago
Selected Answer: B
After modifying GNU GRUB's configuration file, you need to run the following command for the changes to take effect: B. `grub-install` The `grub-install` command is used to install the GRUB bootloader to the Master Boot Record (MBR) or the boot sector of a specific device, ensuring that the changes made to the configuration file are reflected in the bootloader's behavior.
upvoted 1 times
...
3glag
4 years, 12 months ago
grub-update is correct answer
upvoted 2 times
cast7omadrid1
4 years, 11 months ago
While it is possible to edit the main configuration file, any changes made to it will be lost upon updating the kernel or if an administrator executes the update-grub (for Ubuntu-based systems) or grub2-mkconfig (for Fedora-based systems) commands. This is because the GRUB 2 configuration file is designed to be automatically regenerated any time a kernel file is added or removed from the /boot directory.
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