On Sun, Aug 30, 2015 at 4:19 AM, Paul Cartwright <pbcartwright(a)gmail.com> wrote:
On 08/29/2015 11:12 PM, Chris Murphy wrote:
>> > grub2-mkconfig will add entries for other operating systems it can find.
>> > That will be done based on the output of the os-prober tool.
> This is why one of my first modifications post-install is to
> /etc/default/grub to add
>
> GRUB_DISABLE_OS_PROBER="true"
>
why would you not want it to update other OSes?
I've already hinted at this, because those entries are either wrong or
suboptimal. Each distro has its own /etc/default/grub which contains
its own unique GRUB_CMDLINE_LINUX= which really only applies to that
distro. The Ubuntu GRUB menu entries for Fedora contain Ubuntu boot
parameters, not Fedora's. And vice versa.
Further, because Fedora uses grubby to update its grub.cfg rather than
rebuilding it from scratch, the Fedora grub.cfg never will get updated
to reflect the actual state of Ubuntu's installed kernels as they
change.
It's just a shitty workflow. The proper way to do this, as I've
mentioned before, is grub-mkconfig should not create menu entries for
"other" OS's, it should use the configfile command, and load that
other OS's grub.cfg.
So I just disable this crap because it's f'n broken.
:-D
--
Chris Murphy