Sunday, October 30, 2016

grub2 - Black screen when logged in Ubuntu after Nvidia drivers update



Since the last update of my nvidia drivers on Ubuntu (15.04, 64 bit), I get a black screen when logged in Ubuntu.



A second monitor does not help.



Choosing the recovery mode on Grub doesn't help because:





  1. Choosing different options on failesafeX does not change anything.


  2. Choosing the dpkg option doesn't repair anything.


  3. Going to the root shell prompt is useless: I can't use apt-get install or purge because the administration directory is locked.




I don't have a DVD of 15.04 and I don't want to reinstall everything. What are my options?



Reboot your machine and press and hold SHIFT until Grub menu shows up. Select the second option Enhanced Options for Ubuntu and then second option ... (recovery mode) again.




In Recovery Menu choose root and type mount -o remount,rw / to remount the filesystem with read AND write permissions.



Now you can proceed purging the nvidia drivers. Run dpkg -l | grep nvidia | grep -v nvidia-common to see a list of all packages. Run `apt-get remove --purge ' with all the packages from above.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...