QuestionQ28

VerifiedEssential System Services

Which command installs the GRUB boot files into the currently active file systems and installs the boot loader in the first partition of the first disk?

Explanation

The device argument /dev/sda1 identifies the first partition of the first disk. grub-install uses its device argument as the boot-loader installation target, while its boot files default to the active system’s /boot directory unless a different boot directory is specified. GNU GRUB Manual: Invoking grub-install

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!