Bug 908528 - Add GRUB_DISABLE_SUBMENU config option
Summary: Add GRUB_DISABLE_SUBMENU config option
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-06 23:22 UTC by Prarit Bhargava
Modified: 2013-07-19 14:04 UTC (History)
9 users (show)

Fixed In Version: grub2-2.00-16
Clone Of:
Environment:
Last Closed: 2013-04-03 18:09:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
grub.cfg without GRUB_DISABLE_SUBMENU (4.87 KB, application/octet-stream)
2013-02-07 18:49 UTC, Prarit Bhargava
no flags Details
grub.cfg with GRUB_DISABLE_SUBMENU="true" (3.79 KB, application/octet-stream)
2013-02-07 18:49 UTC, Prarit Bhargava
no flags Details
add GRUB_DISABLE_SUBMENU option patch (2.52 KB, patch)
2013-02-07 18:53 UTC, Prarit Bhargava
no flags Details | Diff

Description Prarit Bhargava 2013-02-06 23:22:49 UTC
Description of problem: Description of problem: I don't like the submenus and they get in the way of my development.  I prefer the "old style" single list of kernels.  I've posted a patch to grub-devel that implements GRUB_DISABLE_SUBMENU which would eliminate the automatic submenu generation in the grub.cfg.

The patch is 

http://lists.gnu.org/archive/html/grub-devel/2013-01/msg00126.html

and I will backport it and attach it to this BZ shortly.


Version-Release number of selected component (if applicable): 
grub2-2.00-13.fc18

Additional info: I will attach a tested patch against rawhide's grub2 in a day or two.

Comment 1 Prarit Bhargava 2013-02-07 18:49:26 UTC
Created attachment 694703 [details]
grub.cfg without GRUB_DISABLE_SUBMENU

Comment 2 Prarit Bhargava 2013-02-07 18:49:57 UTC
Created attachment 694704 [details]
grub.cfg with GRUB_DISABLE_SUBMENU="true"

Comment 3 Prarit Bhargava 2013-02-07 18:53:30 UTC
Created attachment 694705 [details]
add GRUB_DISABLE_SUBMENU option patch

Comment 4 Frank Murphy 2013-06-24 16:33:01 UTC
Has this been pushed to F18 updates-testing?
yum update --enablerepo=updates-testing has nothing
https://admin.fedoraproject.org/updates/search/grub2? no grub2-2.00-16

Comment 5 Harald Reindl 2013-06-24 19:22:49 UTC
no, because nobody here cares for released fedora versions

http://koji.fedoraproject.org/koji/packageinfo?packageID=6684

this is the last F18 build at all
grub2-2.00-15.fc18 2012-12-20 17:11:35

the same for the troubles that grub2-mkconfig that "--unrestricted" is not set if you are using a password for grub2 resulting that you no longer can reboot remote machines if you forgot to change the config manually which is a unacceptable regression with grub2

Comment 6 Pasi Karkkainen 2013-07-19 14:04:04 UTC
Really? It'd be very nice to get the GRUB_DISABLE_SUBMENU option as an update for Fedora 18. 

I just ran grub2-mkconfig on fc18 box and then found out the kernel list from grub is gone, and there's no way to get it back on the main grub screen (yeah, no backups about grub.cfg on this box).


Note You need to log in before you can comment on or make changes to this bug.