kali linux keeps booting into grub
If you are in grub rescue mode, then run these commands to reconfigure grub:
ls
set root=(hd0,gptx)
set prefix=(hd0,gptx)/boot/grub
insmod normal
normal
ls(LS) lists all the partitions of your hard drive like this (hd0) (hd0,gpt1) (hd0,gpt2). You can make some guesses which one is your kali filesystem to replace the variable x in gptx.
Once you boot into kali open terminal and type:
grub-install /dev/sda
update-initramfs -u
update-grub