bugGNU GRUB - Bugs: bug #40106, in some instances displays...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #40106: in some instances displays "unknown Linux distribution" instead of the proper name

Submitter:  Peter Passchier <pepa65>
Submitted:  Thu 26 Sep 2013 12:32:34 AM UTC
   
 
Category:  User Interface Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Invalid Privacy:  Public
Assigned to:  None Originator Name:  Peter Passchier
Open/Closed:  Closed Release:  other
Release:  Reproducibility:  Every Time
Planned Release:  None

Jump to the original submission

Thu 26 Sep 2013 10:47:20 PM UTC, comment #11: 

Yes, I get that, but how come the menuentries under the "unknown Linux distribution" submenu suddenly have the proper name (SolusOS 2)??

Peter Passchier <pepa65>
Thu 26 Sep 2013 10:44:29 PM UTC, comment #10: 

"unknown distribution" is used as collective title for entry used to boot most recent kernel and as the submenu title.

Vladimir Serbinenko <phcoder>
Group administrator
Thu 26 Sep 2013 10:42:15 PM UTC, comment #9: 

Thanks, I appreciate your admonition, and having looked at the os-prober code, I agree they are fighting a losing battle to include all GNU/Linux distributions. (Except through /etc/lsb-release which is what our project will add to our baselayout.)

But my question still stands, if I run grub-mkconfig from Debian, how come that 'SolusOS 2' is picked up automarically for some menuentries, but not for others? If at least you understand that will put my mind at ease for reporting this. From some source you are picking up this name, and it's not from os-prober. Where does it come from??

Thanks again for your time and attention. :-)

Peter Passchier <pepa65>
Thu 26 Sep 2013 07:16:55 PM UTC, comment #8: 

Please, just help os-prober guys fix the real problem rather than making us create new problems here just to hide yours. Nobody wants to have a submenu title "text mode" just because one of OSes uses it as entry title.

Vladimir Serbinenko <phcoder>
Group administrator
Thu 26 Sep 2013 07:02:03 PM UTC, comment #7: 

So where do you get that entry name from, and why do you not use it everywhere?
To explain: under "### BEGIN /etc/grub.d/30_os-prober ###" comes menuentry 'unknown Linux distribution'
but the next menuentry (in the submenu) has exactly the same content as the previous one, but this one has 'SolusOS s'.
What users would want is to see the proper name everywhere if you have access to it, instead of 'unknown Linux distribution'.

The way it currently works is less desirable, right?

Peter Passchier <pepa65>
Thu 26 Sep 2013 06:53:39 PM UTC, comment #6: 

Because later is the name of the entry and not of the OS. It can be more specific and not contain distro name at all. E.g. it could be "text mode"

Vladimir Serbinenko <phcoder>
Group administrator
Thu 26 Sep 2013 06:35:42 PM UTC, comment #5: 

Sorry, that first attachment was from another installation.
In the newly uploaded grub.cfg there is the "unknown Linux distribution" in some cases, indeed, the 2nd field of the output of os-prober. But then, where is the 'SolusOS 2' coming from further down?? Because that is the proper name, and if it's not coming from os-prober, why don't you use it everywhere?

Peter Passchier <pepa65>
Thu 26 Sep 2013 06:32:31 PM UTC, comment #4: 

In our case, we should just attach

(file #29231)

Peter Passchier <pepa65>
Thu 26 Sep 2013 03:19:29 PM UTC, comment #3: 

I fail to see what you try to prove with this attachement. 30-os_prober always uses the second column from os-prober as entry name.

Vladimir Serbinenko <phcoder>
Group administrator
Thu 26 Sep 2013 03:08:01 PM UTC, comment #2: 

Thanks for looking into this.
It seems the problem is not with os-prober, as it manages to return a proper name. It seems that grub doesn't make use of the proper result in all cases. (See the attachment)
Can you find this in the code?

Peter Passchier <pepa65>
Thu 26 Sep 2013 10:38:22 AM UTC, comment #1: 

We don't maintain linux-prober/os-prober

Vladimir Serbinenko <phcoder>
Group administrator
Thu 26 Sep 2013 12:32:34 AM UTC, original submission:  

This was noticed when installing Debian/sid when SolusOS (solusos.com) was already installed on another partition.
It seems like os-prober doesn't pick up the proper name (SolusOS 2) and replaces it with "unknown Linux distribution", but in the "Advanced options for unknown Linux distribution" it uses the proper name in the menuentries.

Peter Passchier <pepa65>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #29231:  grub.cfg added by pepa65 (8KiB - application/octet-stream - The correct file (sorry about uploading the wrong file))
file #29217:  grub.cfg added by pepa65 (5KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by pepa65 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-26 pepa65 Attached File- Added grub.cfg, #29231
    2013-09-26 phcoder StatusNone Invalid
        Open/ClosedOpen Closed
    2013-09-26 pepa65 Attached File- Added grub.cfg, #29217

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code