On doing sudo apt-get update , apt-get upgrade and apt dist-upgrade , on restarting the screen gets stuck with the cursor on top left and the mouse cursor and everything else blank. Alt+ctrl+f1 does switches to terminal (observable by the disapearing of the mouse cursor) but I m unable to type anything in it. I tried resinstalling my Nvidia drivers using recovery mode but no success . Any fix for this issue i have encounterd?

My specs:
Processor: Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz (4 CPUs), ~2.5GHz Memory: 8192MB RAM
Card name: Intel(R) HD Graphics 630
Manufacturer: Intel Corporation
Chip type: Intel(R) HD Graphics Family
Card name: NVIDIA GeForce GTX 1050
Manufacturer: NVIDIA
Chip type: GeForce GTX 1050



I have a dual booted system configuration with windows 10 on one partition and kali linux on the other.