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-pcgrub-pc-bin grub-theme-starfield  grub2grub2-common grub2-splashimagesI 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/grubI had a look but couldn't find anything which would tell me where this file comes from ?[$] dpkg -S /etc/default/grubdpkg-query: no path found matching pattern /etc/default/grubOR [$] dpkg-query -W /etc/default/grubdpkg-query: no packages found matching /etc/default/grub
In Debian, which package is responsible for creation of /etc/default/grub?
debian;package management;grub2;configuration;dpkg
In such cases you can find the relevant package by looking through the post-installation scripts:grep /etc/default/grub /var/lib/dpkg/info/*.postinstThis reveals that the file is created by grub-pc.