linux-boot-prober
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-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
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://
100 /var/lib/
Changed in os-prober (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Colin Watson (cjwatson) |
have made the change proposed by Roger: newns ----> ! newns "$@"
that work perfectly