After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?
After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?
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.
grub-update is correct answer
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.
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.