linux-boot-prober

Bug #426061 reported by Roger E Critchlow Jr
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
os-prober (Ubuntu)
Fix Released
Critical
Colin Watson

Bug Description

Binary package hint: os-prober

update-grub2 reports:

root@elf11:~# update-grub2
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-9-generic
Found initrd image: /boot/initrd.img-2.6.31-9-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows XP Professional on /dev/sda1
Found Windows NT/2000/XP on /dev/sda2
Found Ubuntu 8.10 (8.10) on /dev/sda6
Found Ubuntu karmic (development branch) (9.10) on /dev/sda7
Found Ubuntu karmic (development branch) (9.10) on /dev/sda8
done

but grub.cfg fails to include boot records for /dev/sda6, /dev/sda7, /dev/sda8.

Examining the log records generated by linux-boot-prober revealed that:

  linux-boot-prober /dev/sda6

reported:

  Sep 7 21:01:18 elf11 linux-boot-prober: Device '' does not exist; skipping

I changed

  newns

to

  newns "$@"

which results in the device argument being passed correctly and the correct records being generated in grub.cfg.

-- rec --

lsb_release -rd
Description: Ubuntu karmic (development branch)
Release: 9.10
root@elf11:~# apt-cache policy os-prober
os-prober:
  Installed: 1.31
  Candidate: 1.31
  Version table:
 *** 1.31 0
        500 http://us.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Roger E Critchlow Jr (rec) wrote :
Revision history for this message
dino99 (9d9) wrote :

have made the change proposed by Roger: newns ----> ! newns "$@"

that work perfectly

Revision history for this message
Dean Loros (autocrosser) wrote :

This also corrected my problem.

Revision history for this message
dino99 (9d9) wrote :

Since my previous post above, i've rebooted & grub2 menu do not show me all the distro. Strange because i've ran grub-mkconfig & it was complete, but seem that it has not been saved.

So, i run again :
sudo os-prober : still don't find all the distro
sudo update-grub2 : nothing added
sudo grub-mkconfig : everything is found

run again:
sudo update-grub2

and reboot

Good, grub menu is now complete & it boot fine.

So, there is still something wrong about os-prober.

All this on Karmic 32 with the latest upgrades.

Colin Watson (cjwatson)
Changed in os-prober (Ubuntu):
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package os-prober - 1.32

---------------
os-prober (1.32) unstable; urgency=low

  * Pass arguments properly to newns (thanks, Roger E Critchlow Jr; LP:
    #426061).

 -- Colin Watson <email address hidden> Tue, 08 Sep 2009 12:33:12 +0100

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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