Package: grub-pc Version: 1.98~experimental.20100120-1 Severity: wishlist File: /etc/grub.d/10_linux The algorithm isn't perfect. It put an older (obsolete too) version at top: $ perl -nwle '/menu.*(Linux 2.*6)/&&print $1' /boot/grub/grub.cfg Linux 2.6.32-trunk-686 Linux 2.6.32-trunk-686 Linux 2.6.32-2-686 Linux 2.6.32-2-686