Chris Murphy wrote, On 12/11/2012 01:00 AM:
Does grub-mkconfig have any dependency on the things that grub-install or
grub-mkimage produces? I'm thinking of the case where a user has an existing
boot manager/loader, and they do not want a newer one replacing what they have.
But perhaps they still need a grub.cfg: e.g. Install Ubuntu, using its
installed GRUB2 and grub.cfg; subsequently installing Fedora to try out but
user doesn't want Fedora's installer overwriting Ubuntu's boot manager
experience.
Is it possible to run grub-mkconfig within a chrooted Fedora post-install,
without first calling grub-install
Yes, there are dependencies. grub-install will for instance install
fonts and themes in /boot/grub where grub-mkconfig will pick them up if
they are available.
But each OS should have its own /boot, EFI systems should have their own
bootloader-id, and BIOS systems can run grub-install with
--grub-setup=/bin/true if it should stay away from MBR. That way they
shouldn't clobber each other.
/Mads
_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub