This question already has an answer here:
I'm having trouble installing GRUB bootloader manually. I was attempting to install Kali Linux to dual boot with my already existing Windows 10 system. During the installation, it said it couldn't install GRUB, so I tried to manually install it from a Kali Live USB. However, whenever I run these commands in Terminal:
mount /dev/sda5 /mnt mount --bind /dev /mnt/dev mount --bind /dev/pts /mnt/dev/pts mount --bind /proc /mnt/proc mount --bind /sys /mnt/sys chroot /mnt grub-install /dev/sda
It says bash:
grub-install: command not found. grub2-install also doesn't work. Trying update-grub says the same thing. GRUB was never installed, so how do I install it?