Before this case, the console returned:
/usr/sbin/grub-probe: error: failed to get canonical path of '/cow'.
then i solved this by following the steps on this page: Failed to get canonical path of /cow.
but now when I run:
sudo update-grub
it returns:
/usr/sbin/grub-probe: error: failed to get canonical path of '/boot'.