os-prober parses menu.lst incorrectly with '=' instead of space after 'title'

Bug #393670 reported by Peter Husen
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
os-prober (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: grub2

update-grub correctly found out that I have a Gentoo installation on another partition, but it created a menu entry with the correct initrd, but using memtest86.bin as the kernel. I believe this is due to the script /usr/lib/linux-boot-probes/mounted/40grub only recognizing a title-line, if 'title' is followed by a space, whereas my menu.lst had lines like 'title=Gentoo Linux 2.6.27', so the constructed entry ended up being a mixture of menu entries.

$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

$ LANG=C apt-cache policy grub-pc
grub-pc:
  Installed: 1.96+20090611-1ubuntu2
  Candidate: 1.96+20090611-1ubuntu2
  [...]

Revision history for this message
Peter Husen (phusen) wrote :
Colin Watson (cjwatson)
affects: grub2 (Ubuntu) → os-prober (Ubuntu)
Revision history for this message
Durand D'souza (durand1) wrote :

I don't think os-prober uses menu.lst at all. Thats for grub 1 only. I would like to know how to add gentoo to grub2's autodetection because its being found but for some reason, not added to grub.cfg.

Changed in os-prober (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.