LWN.net Logo

Re: Gone are the happy days

Re: Gone are the happy days

Posted Jul 10, 2012 16:04 UTC (Tue) by HelloWorld (guest, #56129)
In reply to: Re: Gone are the happy days by utoddl
Parent article: GRUB 2.00 released

Grub2 offers the commands extract_entries_source and extract_legacy_entries_source, which read menu entries from another grub2/grub legacy configuration file. You can place these commands in your custom.cfg (usually /boot/grub{,2}/custom.cfg). I use them to read one distro's boot loader configuration from another one's so that in the end, all entries end up in the same menu. It makes sense to disable the os-prober script in /etc/grub.d when using this approach, otherwise you'll get many redundant entries.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds