help-grub
[Top][All Lists]
Advanced

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

Re: EasyBCD and GRUB2


From: Andrey Borzenkov
Subject: Re: EasyBCD and GRUB2
Date: Tue, 25 Dec 2012 12:18:54 +0400

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



reply via email to

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