grub shows same linux image twice

After a recent update, I get multiple entries for same linux kernel version in the boot menu. I have tried running update-grub2 but it also lists the same linux-image version twice i.e

adnan@adnan-laptop:/boot$ sudo update-grub2
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-26-generic
Found initrd image: /boot/initrd.img-2.6.32-26-generic
Found Windows 7 (loader) on /dev/sda1
Found linux image: /boot/vmlinuz-2.6.32-26-generic
Found initrd image: /boot/initrd.img-2.6.32-26-generic
Found memtest86+ image: /boot/memtest86+.bin
done

As you can see vmlinuz and initrd are found multiple times. But there is only one vmlinuz and initrd file in /boot

adnan@adnan-laptop:/boot$ ls -l
total 15120
-rw-r--r-- 1 root root  646144 2010-11-24 15:58 abi-2.6.32-26-generic
-rw-r--r-- 1 root root  110601 2010-11-24 15:58 config-2.6.32-26-generic
drwxr-xr-x 3 root root    4096 2011-01-01 18:59 grub
-rw-r--r-- 1 root root 8335528 2010-12-20 23:36 initrd.img-2.6.32-26-generic
-rw-r--r-- 1 root root  160280 2010-03-23 14:40 memtest86+.bin
-rw-r--r-- 1 root root 2156100 2010-11-24 15:58 System.map-2.6.32-26-generic
-rw-r--r-- 1 root root    1336 2010-11-24 16:00 vmcoreinfo-2.6.32-26-generic
-rw-r--r-- 1 root root 4050080 2010-11-24 15:58 vmlinuz-2.6.32-26-generic

Can some one tell me why does update-grub2 finds vmlinuz and initrd twice? and how to stop this from happening.

UPDATE: Find grub.cfg here


Solution 1:

How I thought, you had two linux image finder in /etc/grub.d, remove one, the right list is:

00_header 
05_debian_theme 
10_linux 
20_memtest86+ 
30_os-prober 
40_custom

These scripts looks for OS-s when you update the grub.