PDA

View Full Version : Broke display drivers and can only boot recovery mode



defcon2
2015-06-03, 16:58
I was trying to install Nvidia drivers on Kali Linux, following a tutorial.
I typed in these commands:

apt-get update
apt-get dist-upgrade
apt-get install -y linux-headers-$(uname -r)
apt-get install nvidia-kernel-dkms

It downloaded the new drivers, but said that they were disabled in xorg.something
It also said something about rebooting might enable them. So I went on to enter these commands:

sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
update-grub
reboot

So the last commands disable the driver that was enabled. On reboot, I get a black screen and a blinking white cursor at the top left side of the screen. I presume I don't have any drivers enabled? What would the commands be to re-enable the standard display drivers from Kali Linux recovery mode?

execrate
2015-06-06, 01:48
Hello
Maybe this guide can be of some help to you. It has worked great for me many times https://forums.kali.org/showthread.php?21956-(Guide)-Installing-Nvidia-Bumblebee-CUDA-for-Optimus-enabled-Laptops also maybe hit ctrl and f1 or something like that.