help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub-mkconfig depends on grub-install?


From: Mads Kiilerich
Subject: Re: grub-mkconfig depends on grub-install?
Date: Tue, 11 Dec 2012 02:15:40 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]