From: Arbiel Perlacremaz <arbiel.perlacremaz@laposte.net>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: Question regarding numbering conventions
Date: Wed, 04 Jul 2012 09:39:10 +0200 [thread overview]
Message-ID: <4FF3F31E.6060300@laposte.net> (raw)
In-Reply-To: <CAA05369-19F3-4DE8-8834-7DB5849D2F76@gmail.com>
Hi
Personnaly, I'm using custom.cfg. This file is incorporated at the end
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,
/boot/grub/greffons (this name stands for "addons" for english speaking
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
without menu or delay, or display the menu if I hold the control key
down during the boot process
iso.menu.cfg is used to boot from my iso files, preventing me from
burning CDs
config.menu.cfg is used to look for the various grub.cfg's and display a
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
to take the modifications into account.
Arbiel
Le 02/07/2012 19:49, Cipherboy a écrit :
> A question to the community of developers,
>
> What is the numbering conventions for scripts set to run with
> update-grub2 in /etc/grub.d? Specifically, I created a script to
> detect isos and add them to the grub menu to select on boot which I
> want to commit back to the community. In the README, it says that 20_*
> is reserved for 3rd party scrips, memtest86+ being an example. Would
> this be the best place to put it, even though people could potentially
> have a dozens of live images, bumping other operating systems (Windows
> 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
next prev parent reply other threads:[~2012-07-04 7:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-02 17:49 Question regarding numbering conventions Cipherboy
2012-07-04 7:39 ` Arbiel Perlacremaz [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-07-03 20:18 John Page
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FF3F31E.6060300@laposte.net \
--to=arbiel.perlacremaz@laposte.net \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.