From: Andrey
Borzenkov <address@hidden>
To: S O <address@hidden>
Cc: "address@hidden" <address@hidden>
Sent: Tuesday, December 25, 2012 12:18 AM
Subject: Re: EasyBCD and GRUB2
On Tue, Dec 25, 2012 at 11:41 AM, S O <
address@hidden> wrote:
>
> Can someone please explain:
>
> 1) exactly how GRUB2 selects initial partition for configuration files;
>
Location of GRUB2 "home" is kept in ${prefix} variable which is stored
in core.img. It could be stored either directly or usually as
bootstrap code that looks for filesystem UUID and sets ${prefix}
accordingly.
> 2) and if there is a way to control this from boot block (in this case,
> EasyBCD-supplied boot block)?
>
GRUB2 boot block only has information about location of core.img. So
answer is - no; you only can possibly control which core.img is loaded
by dynamically patching its location into boot block. But that
effectively means "different GRUB2 instance", not "the same GRUB2 with
different
configuration".
_______________________________________________
Help-grub mailing list
address@hiddenhttps://lists.gnu.org/mailman/listinfo/help-grub