I'm new to terminal and StackExchange, but I found a way around to **update-grub command not found **
:sudo apt-get update; sudo apt-get install --reinstall grub
I used the above command to reinstall GRUB, but it gave me
Package grub is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
grub2-common:i386 grub-efi-amd64:i386 grub2-common grub-pc grub-efi-ia32
grub-efi-amd64
So i tried to reinstall above packages with
:sudo apt-get install --reinstall (ABOVE 6 PACKAGES)
EX: :sudo apt-get install --reinstall grub2-common
Then I used :sudo update-grub to update it, and it worked displaying
Adding boot menu entry for UEFI Firmware Settings ...
done
then i used the following
:sudo apt install grub-efi-amd64:
:sudo update-grub:
:sudo grub-install:
Reboot and use the following
:sudo update-grub: