By all means... here is the output from both, as well as the contents of
(/dev/sda7)/boot, and of (/dev/sda8)/boot (parentheses implying the
partitions were mounted to a location), to be sure what is actually in
there:

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

manjul@chaar:~$ sudo os-prober
/dev/sda4::Arch:linux
/dev/sda7:Debian GNU/Linux (wheezy/sid):Debian:linux
/dev/sda8:Slackware Linux (Slackware 13.1.0):Slackware:linux
/dev/sda9:Gentoo Base System release 1.12.14:Gentoo:linux
manjul@chaar:~$ sudo linux-boot-prober /dev/sda7
/dev/sda7:/dev/sda7::/vmlinuz:/initrd.img:root=/dev/sda7
/dev/sda7:/dev/sda7::/vmlinuz:/initrd.img:root=/dev/sda7
/dev/sda7:/dev/sda7::/boot/vmlinuz-2.6.38-2-686:/boot/initrd.img-2.6.38-2-686:root=/dev/sda7
/dev/sda7:/dev/sda7::/vmlinuz:/initrd.img:root=/dev/sda7
/dev/sda7:/dev/sda7::/vmlinuz:/initrd.img:root=/dev/sda7
manjul@chaar:~$ ls /mnt/
manjul@chaar:~$ sudo mount /dev/sda7 /mnt
manjul@chaar:~$ ls /mnt/boot
config-2.6.38-2-686  initrd.img-2.6.38-2-686  System.map-2.6.38-2-686  
vmlinuz-2.6.38-2-686
manjul@chaar:~$ sudo umount /mnt
manjul@chaar:~$ sudo mount /dev/sda8 /mnt
manjul@chaar:~$ ls /mnt/boot
config  config-huge-smp-2.6.35.11-smp  diag1.img  README.initrd  slack.bmp  
System.map  System.map-huge-smp-2.6.35.11-smp  vmlinuz  
vmlinuz-huge-smp-2.6.35.11-smp
manjul@chaar:~$ sudo umount /mnt
manjul@chaar:~$ 

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Evidently linux-boot-prober is the culprit, as it has been in the past a
bunch of times.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/758887

Title:
  Following kernel upgrade to 2.6.38-8.42, grub2 generates duplicate
  entries in the menu

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to