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
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)- A94% (29)
- B3% (1)
- D3% (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
Community Discussion
No community discussion yet for this question.