Bug#609330: release-notes: update-grub seems not to be called by the kernel upon upgrade
I just tried to upgrade a system following the release notes to the
letter. This means doing first "apt-get upgrade", then installing a new
kernel and udev, reboot, then doing a full "dist-upgrade".
After reboot only the *old* kernel was present in the grub menu, not the
new one. grub2 (to replace the installed grub1) was only installed
*after* the reboot during the dist-upgrade. (So I did upgrade, install
linux and udev, reboot, update-grub, reboot, dist-upgrade instead.)
After the installation of grub2 I properly get a hook in
/etc/kernel/postinst.d to call update-grub. Is it possible that you
should either update grub2 more early in the process or run update-grub
manually after the kernel installation and before the reboot?
It's not entirely clear to me how it's supposed to happen or if it's
just user error in the configuration files of the Lenny installation
that was upgraded.