1. Create script, let's say a.sh with the following content:
2. Change permissions:
3. open root terminal, and run this script:
Code:
declare -x PATH=$PATH:/sbin
update-grub
2. Change permissions:
chmod +x a.sh
3. open root terminal, and run this script:
./a.sh