Comment 7 for bug 190147

Revision history for this message
aleneguou (alexandergould) wrote :

This error comes up on installing the 2.6.24-10-generic kernel.

Setting up linux-image-2.6.24-10-generic (2.6.24-10.16) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-10-generic
The provided postinst hook script [/usr/sbin/update-grub] could not be run.
dpkg: error processing linux-image-2.6.24-10-generic (--configure):
 subprocess post-installation script returned error exit status 2

If I run:
# update-grub
grub-probe: error: Cannot get the real path of `/dev/hda'

I tried what Tormod Volden suggests above:
# grub-install /dev/hda
and get the same error.