Jarno Suni wrote: > 2010/5/9 Vladimir 'φ-coder/phcoder' Serbinenko <phco...@gmail.com>: > > >> 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 } ... -- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel