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: Chris Murphy
Subject: Re: grub-mkconfig depends on grub-install?
Date: Sun, 16 Dec 2012 12:54:41 -0700

On Dec 10, 2012, at 6:15 PM, Mads Kiilerich <address@hidden> wrote:

> 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.

Perfect, that does work, and I've recommended this for F18 in bugs 885240, 
886502. I think this is a better option than not calling grub2-install or 
grub2-mkconfig at all, for those who will need the files those commands create 
to enable multiboot with an existing boot manager.


Chris Murphy




reply via email to

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