bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #44031] 30_os-prober generates bugged flood of submenu entries


From: Andrei Borzenkov
Subject: [bug #44031] 30_os-prober generates bugged flood of submenu entries
Date: Sun, 18 Jan 2015 06:31:08 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0

Update of bug #44031 (project grub):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

grub is simply using whatever is returned by os-prober. os-prober is not part
of grub. You need to report it to os-prober maintainers.

I think part of problem may be non-English locale, where os-prober fails to
detect that entry was added by os-prober. I added additional check for
menuentry id in openSUSE like

Index: os-prober-1.61/linux-boot-probes/mounted/common/40grub2

-                               elif echo "$title" | grep -q '(on 
/dev/[^)]*)$'; then
+                               elif echo "$title" | grep -q '(on /dev/[^)]*)$' 
|| echo "$id" | grep -q
"^\([\"']\|\)osprober-"; then
                                        log "Skipping entry '$title':"
-                                       log "appears to be an automatic 
reference taken from another menu.lst"
+                                       log "appears to be an automatic 
reference taken from another grub.cfg"

Try if this will help. It is part of
https://build.opensuse.org/package/view_file/Base:System/os-prober/os-prober-1.49-fix-grub2.cfg-parsing.patch?expand=1

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44031>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]