I have installed kali linux on a 32GB USB drive, and i have a 9GB partition for persistence. Also, the Macbook Pro i am running Kali on requires the AMD GPU to be disabled, so i am using this guide to disable the AMD GPU (Step 3). I want to disable it permanently, but the /etc/default/grub file is missing. I reinstalled GRUB 2.0 and the grub config file was there although there was an error:

    error: failed to get canonical path of 'overlay'

After editing it , i couldn't get the grub-update command to run. It says that there is no such command. And after rebooting, the file disappeared again.

Please help me with this issue. I appreciate your assistance greatly.


Try this:

grub-install /dev/sda

And then:

grub-mkconfig -o /boot/grub/grub.cfg

Those might help.

  • it says grub-install: command not found Jun 29 '17 at 11:24
  • @TheRealOrange Did you try it as root, like with sudo? Jun 29 '17 at 11:26
  • yes i was logged in as root Jun 29 '17 at 11:30
  • @TheRealOrange Take a look at this Jun 29 '17 at 11:32
  • sorry, but that is for arch linux? Jun 29 '17 at 11:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.