To save changes to a GRUB Legacy boot menu, which command must be executed?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Boost your Linux skills with the CompTIA Linux+ Certification Exam simulator. Engage with multiple choice questions and detailed feedback. Master Linux concepts and prepare for your exam with confidence!

To save changes to a GRUB Legacy boot menu, the appropriate command that should be executed is not accurately represented by the selected answer. The command you would typically use to save changes in GRUB Legacy is grub-install. This command is mainly used to install the GRUB boot loader to a device and can also rewrite the GRUB configuration file if changes have been made to the GRUB configuration files.

However, in the context of updating the boot menu and making modifications to the settings, the command update-grub is commonly used. This command scans the available operating systems and generates a new configuration file based on the current system settings and scripts located in /etc/grub.d/. For GRUB Legacy, a manual edit of the configuration file located at /boot/grub/grub.conf (or menu.lst) is required, followed by running grub-install for the boot loader after changes are made.

The grub-mkconfig command is associated more closely with GRUB 2, not GRUB Legacy, and would generate a configuration file for GRUB 2. The term grub-add does not correspond to any standard command in relation to either GRUB Legacy or GRUB 2

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy