I upgraded my windows 10 yesterday after which when I rebooted my PC it showed me grub rescue and I ran a series of command
ls
ls (hd0,msdos40)
set root=(hd0,msdos4)
set prefix=(hd0,msdos4)/boor/grub
insmod normal
normal
After running this it brought out my grub menu and I selected my kali Linux partition but then it took me to an (initramfs) page where I noticed that my Linux partition was changed from /dev/sda3 to /devsda4 and no matter what I do, I can’t boot into my linux, just my windows partition and each time I reboot my PC it still takes me to that grub rescue page and I have to run those commands over again