[Bug 796919] New: Grub 2 Additional Advanced Menu Option in Multi-Drive System does not show Kernel Version in Menu Name
https://bugzilla.novell.com/show_bug.cgi?id=796919 https://bugzilla.novell.com/show_bug.cgi?id=796919#c0 Summary: Grub 2 Additional Advanced Menu Option in Multi-Drive System does not show Kernel Version in Menu Name Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: jmcdaniel3@austin.rr.com QAContact: jsrain@suse.com Found By: --- Blocker: --- Created an attachment (id=519069) --> (http://bugzilla.novell.com/attachment.cgi?id=519069) This is a resulting Grub 2 Menu file, grub.cfg User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0 In Grub 2 or Grub 2 EFI, if two or more hard drives include openSUSE installations, the secondary hard drive kernel versions are not displayed with the OS name and location. Reproducible: Always Steps to Reproduce: 1. Install openSUSE onto two or more hard drives in the same system. 2. Run Update Grub 2 Menu that runs OS Prober 3. Restart System and look at the menu options for the secondary hard drive copy of openSUSE Actual Results: ALL Grub 2 menu entries that show up in a secondary hard drive Advanced menu have the exact same name, over and over again. You can not determine the kernel version attached to each advanced menu entry. Expected Results: The Secondary Advanced menus entries should include the kernel version just as the main Advanced menu does. Further, the hard drive device name, should be attached to the Advanced menu option name instead of being attached to each and every advanced menu entry option name. Grub2 Image, Main Menu: http://paste.opensuse.org/view/download/19827334 Grub2 Image, Secondary Advanced Menu: http://paste.opensuse.org/view/download/72456289 openSUSE Forum Thread: https://forums.opensuse.org/english/get-technical-help-here/install-boot-log... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=796919
https://bugzilla.novell.com/show_bug.cgi?id=796919#c1
--- Comment #1 from Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=796919
https://bugzilla.novell.com/show_bug.cgi?id=796919#c2
--- Comment #2 from James McDaniel
https://bugzilla.novell.com/show_bug.cgi?id=796919
https://bugzilla.novell.com/show_bug.cgi?id=796919#c3
--- Comment #3 from James McDaniel
https://bugzilla.novell.com/show_bug.cgi?id=796919
https://bugzilla.novell.com/show_bug.cgi?id=796919#c4
Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=796919
https://bugzilla.novell.com/show_bug.cgi?id=796919#c5
James McDaniel
https://bugzilla.novell.com/show_bug.cgi?id=796919
https://bugzilla.novell.com/show_bug.cgi?id=796919#c6
--- Comment #6 from James McDaniel
https://bugzilla.novell.com/show_bug.cgi?id=796919
https://bugzilla.novell.com/show_bug.cgi?id=796919#c7
--- Comment #7 from James McDaniel
https://bugzilla.novell.com/show_bug.cgi?id=796919
https://bugzilla.novell.com/show_bug.cgi?id=796919#c8
--- Comment #8 from Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=796919
https://bugzilla.novell.com/show_bug.cgi?id=796919#c9
--- Comment #9 from Andrey Borzenkov
As to the requests for the fix, 1) I see that in the Grub2 Main Menu for the secondary advanced menu, the drive partition is shown from which it came. 2) Next, on the Secondary Advanced Menu, I see kernel versions, which is all very good.
Good. So I consider this bug fixed and submit requests for Factory. grub2: SR#147483 os-prober: SR#147484
In the actual Secondary Advanced Menu of Grub2-efi of sdf, I question the need to have the highest kernel version listed without and with its kernel version shown. I would simply leave out the listing with no kernel version shown. Grub2-efi on sdf is picking up kernel recovery entries from drive sdb I see and only one openSUSE kernel listing with no kernel version shown.
In the actual Secondary Advanced Menu of Grub2, I also question the need to have the highest kernel version listed without and with its kernel version shown. I also see yet another entry that includes the bit type. I would simply leave out any listing with no kernel version shown. Grub2-efi on sdf is NOT picking up kernel recovery entries and shows two openSUSE kernel listing with no kernel version shown.
Well, that's how upstream version works. It is really enhancement request which probably should be discussed with upstream first. In any case it has to go into another bug or feature request. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=796919
https://bugzilla.novell.com/show_bug.cgi?id=796919#c10
--- Comment #10 from Agnelo de la Crotche
https://bugzilla.novell.com/show_bug.cgi?id=796919
https://bugzilla.novell.com/show_bug.cgi?id=796919#c11
--- Comment #11 from Andrey Borzenkov
I don't have access to an openSUSE UEFI system
This is unrelated to UEFI
Is the issue discussed here related to os-prober or to Grub2-efi?
os-prober and grub2 (specifically, 30_os-prober script)
In other words: what do you need to change, the output of os-prober or the way this output is parsed by Grub2 os-prober script? or both?
First three changes in os-prober, forth in 30_os-prober script. There is no change in how it parses output, just change how it builds menu titles.
Andrej, did you make a new patch for os-prober I should be aware of?
Probably, yes :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=796919
https://bugzilla.novell.com/show_bug.cgi?id=796919#c12
--- Comment #12 from Agnelo de la Crotche
(In reply to comment #10)
I don't have access to an openSUSE UEFI system
This is unrelated to UEFI
Is the issue discussed here related to os-prober or to Grub2-efi?
os-prober and grub2 (specifically, 30_os-prober script)
You know that I use my own one (30_os-prober_alt)? :-(
In other words: what do you need to change, the output of os-prober or the way this output is parsed by Grub2 os-prober script? or both?
First three changes in os-prober, forth in 30_os-prober script. There is no change in how it parses output, just change how it builds menu titles.
Menu titles have been bothering me too. That's why I applied similar (but probably not identical changes). But my problem was not to deal with mutliple openSUSE kernels, rather with multiple distros, as well as getting rid of specific entries based of keywords - using this in /etc/grub/default: GRUB_OS_PROBER_SKIP="recovery failsafe fallback single-user" or sorting distros in a given order (GRUB_OS_PROBER_SORT) Maybe you could take a look at my /etc/grub.d/30_os-prober_alt (installed with updategrub in my repo) and see what could be useful. It does several things mentioned several times in the forum.
Andrej, did you make a new patch for os-prober I should be aware of?
Probably, yes :)
I'll have to take a look then ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=796919
https://bugzilla.novell.com/show_bug.cgi?id=796919#c13
--- Comment #13 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=796919
https://bugzilla.novell.com/show_bug.cgi?id=796919#c14
--- Comment #14 from James McDaniel
https://bugzilla.novell.com/show_bug.cgi?id=796919
https://bugzilla.novell.com/show_bug.cgi?id=796919#c15
Andrey Borzenkov
participants (1)
-
bugzilla_noreply@novell.com