Ubuntu 18.04 reboot problem after cuda 10.2 installation

I have a dual boot ubuntu 18.04 and windows 10.asfter installing cuda 10.2 ubuntu is not rebooting. i have tried the below suggestion but it didnt work for me like to many others. Black screen after updating to CUDA 10.1 on Ubuntu 18.04.2
its similar to the problem below.


Any solutions/suggestions are appreciated. THanks!