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.
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) ... img-2.6. 24-10-generic update- grub] could not be run. 2.6.24- 10-generic (--configure):
Running depmod.
update-initramfs: Generating /boot/initrd.
The provided postinst hook script [/usr/sbin/
dpkg: error processing linux-image-
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.