nerdexam
CompTIA

XK0-004 · Question #87

Which of the following is the template for the grub.cfg file?

The correct answer is A. /etc/default/grub. grub.cfg is generated automatically from the content of the /etc/default/grub file and the /etc/grub.d directory. You should modify or add to those files to configure GRUB 2. After making changes, you must explicitly rebuild the grub.cfg file by typing the update-grub command. ht

System Management

Question

Which of the following is the template for the grub.cfg file?

Options

  • A/etc/default/grub
  • B/etc/grub2.cfg
  • C/etc/sysct1.conf
  • D/boot/efi

How the community answered

(31 responses)
  • A
    94% (29)
  • B
    3% (1)
  • D
    3% (1)

Explanation

grub.cfg is generated automatically from the content of the /etc/default/grub file and the /etc/grub.d directory. You should modify or add to those files to configure GRUB 2. After making changes, you must explicitly rebuild the grub.cfg file by typing the update-grub command. https://geek-university.com/linux/grub-version-2/

Topics

#GRUB#boot configuration#grub.cfg template

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice