Black screen in Ubuntu 11.10 with NvidiaPosted: October 20, 2011
Ok, so you have a computer with Nvidia graphics card. You download Ubuntu 11.10 Oneiric Ocelot and install it. All goes well. Then you reboot into your new Ubuntu installation and …after initial boot messages you end up staring at a black screen. You do not get into the GUI, the X11 does not start.
Now, press Ctrl+Alt+F1 to get to the shell prompt in text mode. Log in. Type “startx” and see the messages. Whatever the reason for failure, it will help you diagnose the problem.
Do you see something like this?
FATAL: Module nvidia_173 not found.
(EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
Here is the solution:
1. Remove the existing Nvidia driver:
sudo apt-get --purge remove nvidia sudo apt-get --purge remove nvidia-current
(actually you need only one of those commands, but as we do not know which one exactly, just do both)
3. Reinstall the driver. Pay attention to have “–reinstall” in the command, it is important!
sudo apt-get install --reinstall nvidia-173
4. Try to launch the X11 by typing
or just reboot.