Bug 908528

Summary: Add GRUB_DISABLE_SUBMENU config option
Product: [Fedora] Fedora Reporter: Prarit Bhargava <prarit>
Component: grub2Assignee: Peter Jones <pjones>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: bcl, dcantrell, dennis, h.reindl, mads, pasik, pjones, prarit, sysoutfran
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: grub2-2.00-16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-03 18:09:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
grub.cfg without GRUB_DISABLE_SUBMENU
none
grub.cfg with GRUB_DISABLE_SUBMENU="true"
none
add GRUB_DISABLE_SUBMENU option patch none

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).