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.

1 Answer 1


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, 2017 at 11:24
  • @TheRealOrange Did you try it as root, like with sudo?
    – Megidd
    Jun 29, 2017 at 11:26
  • yes i was logged in as root Jun 29, 2017 at 11:30
  • @TheRealOrange Take a look at this
    – Megidd
    Jun 29, 2017 at 11:32
  • sorry, but that is for arch linux? Jun 29, 2017 at 11:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .