nerdexam
ExamsXK0-004Questions#93
CompTIA

XK0-004 · Question #93

XK0-004 Question #93: Real Exam Question with Answer & Explanation

The correct answer is B: grub.cfg. [root@localhost ~]# grub2-install /dev/sda Only used for GRUB2, grub2-mkconfig will generate GRUB2 configuration files from the user- editable files located in the /etc directory structure. This command converts data from the /etc/default/grub file and the files in the /etc/grub.

Question

Which of the following is modified to reconfigure the boot environment?

Options

  • Agrub-mkconfig
  • Bgrub.cfg
  • Cupdate-grub
  • Dgrub2-mkconfig

Explanation

[root@localhost ~]# grub2-install /dev/sda Only used for GRUB2, grub2-mkconfig will generate GRUB2 configuration files from the user- editable files located in the /etc directory structure. This command converts data from the /etc/default/grub file and the files in the /etc/grub.d directory into the GRUB2 configuration file (either /boot/grub/grub.cfg or /boot/grub/menu.lst). https://tipsonubuntu.com/2016/07/20/grub2-boot-order-ubuntu-16-04/

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice