help-grub
[Top][All Lists]
Advanced

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

Re: How does grub locate grub.cfg


From: Bill Marcum
Subject: Re: How does grub locate grub.cfg
Date: Mon, 22 Aug 2011 13:42:32 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Sun, Aug 21, 2011 at 04:30:02PM +0100, Roger James wrote:
> Help!
> 
> What is the algorithm (if any) used by grub2 to locate the grub.cfg
> file? Are there any hints encoded into the image files by
> grub-mkimage and grub-setup, for example the --prefix parameter to
> grub-mkimage and the -root-device parameter passed to grub-setup. I
> am interesting in finding information on this before embarking on an
> installation which may end up with two different /boot/grub/grub.cfg
> files in different paritions on different drives!
> 
> I have not be able to find this information in any documentation,
> and one quick look at the source tree led me to ask here first!
> 
As far as I know, it looks in /boot/grub relative to the filesystem
or chroot where grub-setup is executed.

> As an aside, is there such a thing as a grub image analyser that can
> take a grub boot installation/image and print out what it contains?
> 
> Thanks,
> 
> Roger
> 
> _______________________________________________
> Help-grub mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-grub

-- 
Practical people would be more practical if they would take a little
more time for dreaming.
                -- J. P. McEvoy



reply via email to

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