https://help.ubuntu.com/community/Grub2#:~:text=The%20main%20Grub%202%20configuration,not%20normally%20be%20edited%20directly.
Correct. "Changes made in the configuration files will not take effect until the update-grub command is executed."
Option B. grub-install is the command that must be run after modifying GNU GRUB's configuration file for the changes to take effect.
GNU GRUB (GRand Unified Bootloader) is a bootloader that is used to boot Linux and other operating systems. It reads its configuration from the /boot/grub/grub.cfg file and uses it to create a menu that allows the user to select an operating system or boot option.
If you make changes to the /boot/grub/grub.cfg file, you must run the grub-install command to apply the changes and update the boot menu. The grub-install command installs the GRUB bootloader on the system and writes the configuration to the boot sector of the system's boot partition.
For example:
grub-install /dev/sda
This installs the GRUB bootloader on the first hard drive ( /dev/sda ) and updates the boot menu with the new configuration.
Option A: The kill -HUP $(pidof grub) command does not apply changes to the GRUB configuration file. It sends a hang-up signal to the process with the specified PID, which may cause the process to terminate or reload its configuration.
Option C: The grub command is not used to apply changes to the GRUB configuration file. It is a command-line interface for managing the GRUB bootloader and can be used to perform various tasks such as booting into a specific operating system or editing the boot menu.
Option D: No action is not the correct answer. After modifying the GRUB configuration file, the grub-install command must be run for the changes to take effect.
for me i dont think the answer is there. To make a configuration permanent u need to write grub2-mkconfig-o /boot/grub2/grub.cfg this is the right thing to do
Since Grub is not a service you don't need to take any action for changes to take effect.
A soon as you change the config file the changes take immediate effect.
upvoted 2 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.
FISI_John
1 year, 3 months agoKlement1n
5 months, 2 weeks agoBuruguduystunstugudunstuy
1 year, 6 months agoBuruguduystunstugudunstuy
1 year, 6 months agopassnow
3 years, 4 months agopassnow
3 years, 3 months agogueno
3 years, 4 months agoBorbz
3 years, 5 months agoBorbz
3 years, 2 months ago