On Jan 7, 2013, at 10:48 AM, Swâmi Petaramesh <[email protected]> wrote:

> Le 06/01/2013 21:05, Gene Czarcinski a écrit :
>> I assume you have a "grub partition" (or its equivalent) with a
>> grub.cfg file having menuentry definitions [pointing to the different
>> grub.cfg file for each system ... that seems to work well (at least
>> for me).  Currently, os-prober does not support btrfs. 
> 
> I don't have any specific "grub" partition, every Linux install has its
> own grub install in its own /boot BTRFS subvolume.

Grub partition, as I'm taking it, means: MBR gap on MBR layouts; and BIOS Boot 
partition (GUID 21686148-6449-6E6F-744E-656564454649) on GPT layouts.

In any case, MBR gap, dedicated GPT partition, or grub.efi application, it's 
possible to bake a grub.cfg directly into the core.img.

Technically using configfile is not chain loading, you're just having the same 
instance of GRUB load an alternate config. Chain loading GRUB implies loading a 
new binary (boot loader) to replace the first instance of GRUB. Using 
configfile has the caveat that the GRUB using configfile may be of a different 
version than the GRUB package that produced the grub.cfg being configfile 
loaded. And as the syntax of grub.cfg has been changing quite a bit it's 
possible to have related failures.

Chris Murphy--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to