grub-devel
[Top][All Lists]
Advanced

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

Re: Adding support for top grub menu


From: Jarno Suni
Subject: Re: Adding support for top grub menu
Date: Sat, 15 May 2010 14:33:51 +0300

2010/5/9 Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden>:
> Jarno Suni wrote:
>> 2010/5/9 Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden>:
>>
>>
>>> I don't understand what you're exactly saying but if you install
>>> os-prober grub will discover other OS in update-grub.
>>>
>>
>> But if you use os-prober, I suppose it finds all kernels installed in
>> all distributions and makes the grub menu too big. And the
>> distributions found by os-prober can not update the grub menu, when
>> they get new kernel.
>>
>>
>> I want to chainload grubs to make menus more tidy and modular, but
>> installing the top grub could be more elegant.
>>
>> The top menu grub partition is independent of the operating system
>> installed so the menu would continue to exist even if all partitions
>> of all distributions and other operating systems were reformated; on
>> the other hand any linux distribution that has grub 2 could be used to
>> maintain the top grub. My approach uses chainloading grubs, but if I
>> have understood correctly, installing to boot sector of a partition is
>> not recommended.
>>
>>
> For this case install tools to generate grub.cfg for each distro without
> installing actual grub and then in main grub.cfg:
>
> menuentry "OS 1" {
>   search -s -l <label1>
>   configfile /boot/grub/grub.cfg
> }
> ...

What would that do exactly? What is that <label1>?


-- 
http://www.iki.fi/8/



reply via email to

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