[Bug 1198643] Append parameters to grub.cfg

bugzilla at redhat.com bugzilla at redhat.com
Fri Mar 6 17:34:20 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1198643



--- Comment #3 from Leslie Satenstein <lsatenstein at yahoo.com> ---
Hi Steven, In response to your question, it is not. Please look at the
following example


There are several menuentry items.

I want to be able to automatically isolate the first "menuentry without
modification but to encapsulate the remaining menu entries ending with the
rescue entry. Encapsulate with a submenu, as grub2 does it for other os's later
on in the list.

Example

menuentry   for current Fedora kernel 

submenu 'encapsulate the following' {

menuentry  prevous Fedora kernel
menuentry  previous to previous Fedora kernel
menuentry Rescue entry
}      #end submenu entry


With two lines of text, I clean up a lot of useless screen clutter.
The submenu entries are available by clicking on the displayed submenu title.

Why do I want to do that? I multiboot, Fedora (up to 3 different versions),
Centos, Windows, a total of up to 5 distributions. 

Grub2 does create a submenu for all the Guest OS's but not the current version.
Why not for the first current version? 

It may have to be a include a new menu entry somewhere after 30 and before 40.


00_header
10_linux
20_linux_xen
20_ppc_terminfo
30_os-prober  
35 " New facility to signal that a submenu entry is desired".
40_custom
41_custom

I hope this clarifies comment 1.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the docs mailing list