Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The nvidia drivers come in .run format, so I ran it in terminal, it said I had to close the X server, so I hit CTRL + Alt + F1, typed ' init 3 ' to close the X server, then I used the cd command to get to where the drivers are, and I can't figure out how to actually make it try to install them, 'run', 'install', etc. does nothing.
If I just type the name of the file it says it's an invalid file/directory.
Allow me to clarify for others who look at this thread needing the same answer.
Make sure to install kernel-devel, or kernel-headers (or both), or kernel-source packages from CD or web site matching current running kernel version, needed for compiling drivers.
To install NVIDIA drivers from Nvidia's site that have .run extension, you are best to log out of the session you are in and log into failsafe terminal/terminal session. Then issue command as root:
#telinit 3
To shutdown X server and take you out of graphical mode. From the directory where your NVIDIA........run file is stored, run command:
sh NVIDIA............run
To avoid typing the entire name of the file in the command you can just type a few of the first letters of the name of the file (case sensitive) and click "Tab" on the keyboard and bash will complete the command if you only have one file by that name. Then hit enter. Follow instructions, when it says it is complete, either hit Ctrl. + Alt. + Del. to re-boot or (better yet), issue command:
telinit 5
To put you back in graphical mode, log out of failsafe terminal/terminal session and log back into user account, Nvidia splash should flash quickly showing it was successful.
Last edited by Junior Hacker; 01-24-2007 at 05:00 AM.
what did help was directing it to the kernel path by using the --kernel-source-patch='xx' command
it got a lot farther, then said...
'Building Kernel Module'... all the way to 100%.
Then...
'ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb/nvidiafb is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s).'
using an asus p5pl2 mobo with nforce chipset, and using onboard network card... fedora core 6
Last edited by Virtuality; 01-23-2007 at 07:24 PM.
Could you tell us exactly what you're trying to do and just in one thread, please? We really will try to get you going, but it's hard to tell exactly what you need. What distribution did you load? What doesn't work that you are trying to fix by installing the nvidia driver? If you have an onboard nvidia ethernet port that doesn't work, most likely you just need to run "modprobe forcedeth".
Could you tell us exactly what you're trying to do and just in one thread, please? We really will try to get you going, but it's hard to tell exactly what you need. What distribution did you load? What doesn't work that you are trying to fix by installing the nvidia driver? If you have an onboard nvidia ethernet port that doesn't work, most likely you just need to run "modprobe forcedeth".
the two threads had different questions, which eventually lead to the same problem anyhow
already said (and is right under my name) fedora core 6.
im trying to install my nvidia drivers which would allow my network to work, that command didnt do anything (or give an error)... probably i don't know how to use it.
at the moment i have the internet, just put in a realtek PCI card which it detects easily.
so the problem is that i can't install my onboard nvidia drivers to make my onboard network card work.
"im trying to install my nvidia drivers which would allow my network to work, that command didnt do anything (or give an error)... probably i don't know how to use it."
If it didn't do anything, it probably worked. Now, please run "ifconfig" and give us the response from that. It would also be nice to see the output from "lspci" and "lsmod" so we can see exactly what's on your machine and what's enabled.
with a version of gcc that differs from the one used to build the target kernel
Have a look at dmesg:
Code:
dmesg | less
The first line should print the kernel, host system and the version of gcc it was compiled with.
Then type:
Code:
gcc --version
To see what you are currently using.
IF they differ.........
You need to find a package for your distro for that specific gcc version and install that. If its anything like debian, the different versions coexist peacefully. Usually the binaries are renamed gcc-4.1 or gcc-3.4 etc. So thats fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.