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.
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
...
...
Log in to ExamTopics
Sign in:
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.
DuboisNicolasDuclair
1 year, 4 months ago3glag
4 years, 12 months agocast7omadrid1
4 years, 11 months ago