101-400 Exam QuestionsBrowse all questions from this exam

101-400 Exam - Question 16


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

Show Answer
Correct Answer: BD

After modifying GNU GRUB's configuration file, the 'grub-install' command should be executed. This command installs 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.

Discussion

2 comments
Sign in to comment
3glag
Mar 21, 2020

grub-update is correct answer

cast7omadrid1
Apr 10, 2020

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.

DuboisNicolasDuclairOption: B
Oct 21, 2023

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.