From: Prarit Bhargava <prarit@redhat.com>
To: Andrey Borzenkov <arvidjaar@gmail.com>
Cc: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [PATCH]: Add GRUB_DISABLE_SUBMENU option
Date: Tue, 29 Jan 2013 18:33:00 -0500 [thread overview]
Message-ID: <51085C2C.8030206@redhat.com> (raw)
In-Reply-To: <20130130000931.280e8823@opensuse.site>
On 01/29/2013 03:09 PM, Andrey Borzenkov wrote:
>> The problem is that the submenus get in the way of doing this. grub2-reboot
>> does not allow one to set a reboot to a specific kernel.
>>
>
> It does.
>
> sudo /usr/sbin/grub2-reboot 'Advanced options for openSUSE 12.2>openSUSE 12.2, with Linux 3.4.6-2.10-desktop (recovery mode)'
>
> better is to use menuentry id, but this works too.
Hi Andrey,
Interesting :), and I'm not going to deny I could code a script to do that.
However, given the large number of requests for disabling the submenus (google
"grub2 disable submenus") it would still be preferable to myself and others
(from just a general debug point of view) to be able to have the entries in a
single list so that I can use the numeric feature of grub2-reboot.
ie) /usr/sbin/grub2-reboot 2
is always easier than having to type
/usr/sbin/grub2-reboot 'Advanced options for openSUSE 12.2>openSUSE 12.2, with
Linux 3.4.6-2.10-desktop (recovery mode)'
which requires me to grep through grub.cfg, figure out what submenu I'm under,
and figure out what the entry is.
Again, I could script that out, but there seems to be enough momentum behind
disabling the submenus that I think the patch may still have some merit.
Alternatively, would you object to me to adding some additional functionality to
grub2-reboot that would grep grub.cfg and display a menu of entries so that
'grub2-reboot #number' would work with submenus?
P.
next prev parent reply other threads:[~2013-01-29 23:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-29 19:23 [PATCH]: Add GRUB_DISABLE_SUBMENU option Prarit Bhargava
2013-01-29 20:09 ` Andrey Borzenkov
2013-01-29 23:33 ` Prarit Bhargava [this message]
2013-01-30 5:00 ` Andrey Borzenkov
2013-01-30 13:39 ` Prarit Bhargava
2013-11-03 23:14 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-04 12:43 ` [PATCH] document GRUB_DISABLE_SUBMENU Andrey Borzenkov
2013-11-04 13:15 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-04 14:27 ` Andrey Borzenkov
2013-11-04 16:09 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-10 13:20 ` Andrey Borzenkov
2013-11-10 13:35 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-10 13:59 ` Barry Jackson
2013-11-10 14:38 ` Andrey Borzenkov
2013-11-10 14:48 ` Vladimir 'φ-coder/phcoder' Serbinenko
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=51085C2C.8030206@redhat.com \
--to=prarit@redhat.com \
--cc=arvidjaar@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).