The update-grub
script is here:
/usr/sbin/update-grub
When your system says command not found
it can be that your user has not /usr/sbin/
in its $PATH
variable.
Anyway, the best way is to change to the root user with su
and then run update-grub
again.
To check which version of grub you have installed type this command:
root@host:~# dpkg --list | grep grub
ii grub-common 1.98+20100804-14+squeeze1 GRand Unified Bootloader, version 2 (common files)
ii grub-pc 1.98+20100804-14+squeeze1 GRand Unified Bootloader, version 2 (PC/BIOS version)
grub-install -v
? See: askubuntu.com/questions/107486/how-to-know-the-version-of-grub. – user13742 Feb 13 '14 at 17:35