LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-25-2010, 02:09 PM   #1
maxreason
Member
 
Registered: Dec 2007
Location: phobos, mars
Distribution: 64-bit linux mint v20
Posts: 259

Rep: Reputation: 17
ubuntu 64-bit 10.04 --- how "boot into console mode" to install nvidia drivers ???


To install the latest nvidia video card drivers, I need to run their installation package in console mode... with no X Windows server, no X windows applications, and no OpenGL applications running (or even suspended).

I guess this means I need to boot up into console mode. How do I accomplish that? The main/boot hard drive only has ubuntu on it... no multiboot (version == ubuntu 64-bit v10.04).

PS: If installing the latest nvidia drivers is dangerous for some reason, please say why. I am resuming development of a large 3D graphics server/engine that I put aside for several months.
 
Old 08-25-2010, 03:53 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
hit ctrl+alt+f1. Log in. Do /etc/init.d/gdm stop.
 
Old 08-25-2010, 08:08 PM   #3
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by maxreason View Post
To install the latest nvidia video card drivers, I need to run their installation package in console mode... with no X Windows server ...
To stop X in Ubuntu 10.04 go to a virtual terminal (ctrl + alt + F1, or F2, etc), login, and run:
Code:
sudo service gdm stop
Then to start X:
Code:
sudo service gdm start
Quote:
Originally Posted by maxreason View Post
If installing the latest nvidia drivers is dangerous for some reason, please say why. I am resuming development of a large 3D graphics server/engine that I put aside for several months.
It is not dangerous, but it is not the recommended way to install the nvidia driver in Ubuntu. Ubuntu has the nvidia drivers in the Ubuntu repos. See this:
https://help.ubuntu.com/community/Bi...erHowto/Nvidia
The newest nvidia driver in the Ubuntu repos is the 195 driver, This should work just fine for all but the newest nvidia cards. The nvidia driver from the Ubuntu repos is also packaged as a .deb package, so it integrates better with the system, as the Ubuntu developers intended.

What nvidia card do you have?
If you feel you absolutely need the newest nvidia driver from nvidia.com, see this:
https://help.ubuntu.com/community/NvidiaManual
You need to install the build-essential package first. And you also need the linux-headers for your kernel. You may need the linux-source package also.
You will also need to blacklist nouveau in /etc/modprobe.d/blacklist.conf. Or remove the nouveau driver as per the first link.
You may also need to reinstall the nvidia driver from nvidia.com whenever there is a kernel update for Ubuntu.
If you install the nvidia driver from the Ubuntu repos, then nouveau is blacklisted automatically for you. The driver in the Ubuntu repos will also automatically be reinstalled as needed for kernel updates.

Write back if you need more help.

Last edited by tommcd; 08-25-2010 at 08:18 PM.
 
Old 08-25-2010, 08:21 PM   #4
maxreason
Member
 
Registered: Dec 2007
Location: phobos, mars
Distribution: 64-bit linux mint v20
Posts: 259

Original Poster
Rep: Reputation: 17
next problem...

Okay, those steps got me into the console/terminal mode perfectly.

Unfortunately, I ran into the following error message when I tried to install the nvidia driver, and don't want to continue without asking someone here who has a clue (that's not me!).

I ran the nvidia driver with:

sudo sh <nvidia-driver-filename>

Then I accepted the agreement... but it immediately displayed the following message:

The distribution-provided pre-install script failed! Continue installation anyway? [Yes] [No]

This is nvidia 64-bit linux driver package v255.44 (Linux-x86_64).

Should I continue anyway? What is this problem related to?
 
Old 08-25-2010, 08:53 PM   #5
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by maxreason View Post
Then I accepted the agreement... but it immediately displayed the following message:
The distribution-provided pre-install script failed! Continue installation anyway? [Yes] [No]
Should I continue anyway? What is this problem related to?
Well, first off, are you absolutely, positively sure you need the newest driver from nvidia.com?
If you have concluded that you absolutely need the latest (and hopefully greatest!!) driver, you should first remove the nouveau driver according to:
http://ubuntuforums.org/showthread.php?t=1553741
This guy seems to have a good grasp of installing the nvidia driver from nvidia.com on Ubuntu 10.04:
http://ubuntuforums.org/showthread.php?t=1467074
Hope this helps.

Last edited by tommcd; 08-25-2010 at 08:57 PM.
 
Old 08-25-2010, 09:05 PM   #6
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I always use jockey-gtk on my ubuntu installs with 10.04
apt-get install jockey-gtk
it also has a command line ui

to boot to console you can just edit grub2 boot kernel line
and remove the words "quiet splash" and use "text" instead and it will boot to
console login

you could also maybe try the smxi scripts specifically sgfxi
http://code.google.com/p/sgfxi/

http://smxi.org/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
[SOLVED] After install of Nvidia Linux Drivers in 13.1 cannot change "Global" font size RaanKor Slackware 8 08-25-2010 03:56 PM
"Envy" an app to aid in the setting up of your ATI or Nvidia drivers in Ubuntu Linux {BBI}Nexus{BBI} Linux - General 1 04-23-2007 06:25 PM
"Cannot find header source files" when trying to install Nvidia 6111 drivers naddad Linux - Newbie 3 08-31-2004 12:42 PM
How do I get "Kernel Header" files so I can install nVidia drivers Stevetgn Linux - Newbie 4 01-14-2004 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration