LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kubuntu 10.04 hangs up after installing the nvidia-current package. (https://www.linuxquestions.org/questions/linux-newbie-8/kubuntu-10-04-hangs-up-after-installing-the-nvidia-current-package-4175436675/)

mm2426 11-11-2012 12:55 PM

Kubuntu 10.04 hangs up after installing the nvidia-current package.
 
Hello friends,
I was installing the latest graphics driver for my nvidia graphics card using the sudo apt-get install nvidia-current command. This command succeeded downloading the driver and then I was told to run the nvidia-xconfig and reboot the system. Now as soon as I rebooted, my system hangs up at the boot screen. The screen first displays Kubuntu and then then there's a black-out.
Please tell me what I can do.
I also referred online and came to know its some kind of bug or something but I am unable to rollback to the previous driver package.
Please Help.

dwduback 11-11-2012 03:44 PM

Nvidia driver causes hang-up at boot
 
I have dabbled in various flavors of Linux for a while but consider myself a Newbie.

I broke my Ubuntu several weeks ago and eventually repaired it after determining the Nvidia driver was at fault.

Learn to use <CTRL><ALT><F1> to get to a terminal session when the X system hangs. You will have to login again. There are ways to get to a terminal during boot but I've forgotten them.

Try " apt-get remove nvidia* " (no quotes)
followed by "apt-get purge nvidia*" (again, no quotes) then repeat the "apt-get install nvidia-current"

I have some links I can post if this does not work for you...

mm2426 11-11-2012 11:35 PM

I tried to use Ctrl+ALT+F1 on my login screen but the screen still remains black and nothing happens. I tried to manage to login any how using my recovery mode, and when I tried to run the command sudo apt-get remove nvidia* it works successfully. Then I also tried to run the command sudo apt-get purge nvidia* and it also worked but when I try to install sudo apt-get install nvidia-current, it gives the following prompt:
Crypto Setup:Warning:Failed to detect canonical device of /host/ubuntu/disks/root.disk
Crypto Setup:Warning:Could not determine root devices from /etc/fstab no support for locale: en_us.utf8
And the installation fails.
My screen still hangs up. Please help.

dwduback 11-12-2012 12:52 PM

Links related to nvidia driver install
 
I have gone through my bookmarks and terminal log.

https://help.ubuntu.com/community/NvidiaManual kind of confused me but I read all stuff that points to the general area I am having trouble with.

Going directly to nvidia's website proved useful. Despite a somewhat poor reputation for support I think Nvidia must be making some effort to help as there is quite a bit there.

http://www.nvidia.com/Download/index.aspx?lang=en-us

The way I accomplished this was to boot from a Kubuntu Live CD (I test many distros, having these Live CDs is a good way to maintain access to the graphics window), at which point I had the graphics window up. Then I could use the wizard at the Nvidia site to help identify the appropriate driver and get it onto the hard drive in a directory whose name I could remember (/home/dave/Downloads).

The one I found was in the form of a ".run" file. My card is a GTX 560M and the driver which worked for me is NVIDIA-Linux-x86-304.60.run. Your driver would perhaps be specific to your card.


Then I booted up without the Live CD.

I used the command killall Xorg before changing to the directory where the .run file is.
and ran the command "./NVIDIA-Linux-x86-304.60.run" (no quotes)

I find when searching that using the specific card in the search terms helps such as (in my case) "Ubuntu 11.04 GTX560M problems" speeds getting to a site that gives the most useful info.

Hope this helps...


All times are GMT -5. The time now is 06:57 PM.