From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SmKBK-0002sY-8w for mharc-grub-devel@gnu.org; Wed, 04 Jul 2012 03:39:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmKBD-0002kU-1M for grub-devel@gnu.org; Wed, 04 Jul 2012 03:39:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SmKB7-0007Kp-UM for grub-devel@gnu.org; Wed, 04 Jul 2012 03:39:18 -0400 Received: from smtp25.services.sfr.fr ([93.17.128.118]:52346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmKB7-0007KW-Lp for grub-devel@gnu.org; Wed, 04 Jul 2012 03:39:13 -0400 Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2503.sfr.fr (SMTP Server) with ESMTP id 37F187000700 for ; Wed, 4 Jul 2012 09:39:11 +0200 (CEST) Received: from [192.168.1.13] (149.174.62.62.rev.sfr.net [62.62.174.149]) by msfrf2503.sfr.fr (SMTP Server) with ESMTP id 130C270006FE for ; Wed, 4 Jul 2012 09:39:11 +0200 (CEST) X-SFR-UUID: 20120704073911781.130C270006FE@msfrf2503.sfr.fr Message-ID: <4FF3F31E.6060300@laposte.net> Date: Wed, 04 Jul 2012 09:39:10 +0200 From: Arbiel Perlacremaz User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: Question regarding numbering conventions References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 93.17.128.118 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2012 07:39:25 -0000 Hi Personnaly, I'm using custom.cfg. This file is incorporated at the end=20 of grub's menu generation and you can either generate additionnal lines at the end of the standard menu or generate a brand new menu in using the configmenu command. I then added a folder in the /boot/grub folder to hold all my scripts,=20 /boot/grub/greffons (this name stands for "addons" for english speaking=20 people) So my custom.cfg file reads : source ${prefix}/greffons/shunt.menu.cfg source ${prefix}/greffons/iso.menu.cfg source ${prefix}/greffons/config.menu.cfg shunt.menu.cfg is used to boot directly with my prefered distribution=20 without menu or delay, or display the menu if I hold the control key=20 down during the boot process iso.menu.cfg is used to boot from my iso files, preventing me from=20 burning CDs config.menu.cfg is used to look for the various grub.cfg's and display a=20 menu to allow me to boot from the one I want The updating of custom.cfg is dynamic as you need not run grub-mkconfig=20 to take the modifications into account. Arbiel Le 02/07/2012 19:49, Cipherboy a =E9crit : > A question to the community of developers, > > What is the numbering conventions for scripts set to run with=20 > update-grub2 in /etc/grub.d? Specifically, I created a script to=20 > detect isos and add them to the grub menu to select on boot which I=20 > want to commit back to the community. In the README, it says that 20_*=20 > is reserved for 3rd party scrips, memtest86+ being an example. Would=20 > this be the best place to put it, even though people could potentially=20 > have a dozens of live images, bumping other operating systems (Windows=20 > comes to mind) further down the list? > > > Thank you, > Alex Scheel > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel