Hi all
This video tutorial will show you how you can use an Kali LiveCD / USB Drive to reinstall GRUB, even when your boot device is inaccessible, sometimes damaged by windows installations, or other OS's
You have to know your Kali partition (GPARTED/fdisk -l) and mount it.
Commands used in this video:
mount the linux partition on /mnt
mount /dev/sda5 /mnt
Using the linux installation on your hard drive instead of /dev/sda5
mount (bind) the live CD dir with installed linux dir
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
Get the root privaleg
chroot /mnt
Install the Grub
grub (Type: TAB Twice)
grub-install /dev/sda ***** Using your boot device instead of /dev/sda
Update the Grub
grub-mkconfig -o boot/grub/grub.cfg
CTRL-D
umount /mnt/dev
umount /mnt/proc
umount /mnt/sys
umount /mnt
reboot