There are many packages which have grub in their names and part of the GRUB (the Grand Unified Boot Loader). The ones which are installed on my system are -
- grub-common
- grub-emu
- grub-pc
- grub-pc-bin
- grub-theme-starfield
- grub2
- grub2-common
- grub2-splashimages
I first looked at it to see whether it is a symlinked file or a regular file -
[$] ll -h /etc/default/grub
-rw-r--r-- 1 root root 1.2K 2017-01-22 14:16 /etc/default/grub
I had a look but couldn't find anything which would tell me where this file comes from ?
[$] dpkg -S /etc/default/grub
dpkg-query: no path found matching pattern /etc/default/grub
OR
[$] dpkg-query -W /etc/default/grub
dpkg-query: no packages found matching /etc/default/grub