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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have tried getting the Nvidia drivers working for about 2 hours now. They simply refuse. I use the bareacpi.i kernel from the Slackware 10 cd. The first thing the installer says is that it can't find a precompiled kernel image for my kernel and asks if it should download it. Of course, it can't find one to download either. Then it says that it will compile one. Then, it complains about gcc (the order might be messed up, can't remember). It asks if I should ignore the error. Answering "yes" will bring me to an error about /usr/src/nv/conftest.sh. Nothing I have found on the internet have been very helpful. I have tried modifying the conftest.sh, didn't work. I have tried with 188.8.131.52, wont work there either. I have tried older drivers. Won't work. Is there a way of installing drivers for Nvidia cards in Linux? The urge of throwing Linux in the wall and installing Windows again is rising.
The gcc error is because you're using a different version compiler than the one your kernel is compiled with. For me the only thing that worked was downgrading to the gcc I compiled the kernel with or recompiling the kernel with your current gcc.
The kernel source is downloadable from www.kernel.org . Untar it in /usr/src and make a symbolic link linux to it. The driver should now recognize it.
a couple of things to try. make sure your running kernel and kernel source versions are the same, if not just rename the source to match the running kernel(to avoid bogus error messages) do a 'make cloneconfig' and 'make prepare-all' from within /usr/src/linux. try running the nvidia installer with --kernel-source-path=/usr/src/linux appended to the normal sh. NVIDIA-Linux-blah-blah.run line.
root@david:/usr/src/linux-184.108.40.206# make cloneconfig
bash: make: command not found
root@david:/usr/src/linux-220.127.116.11# make prepare-all
bash: make: command not found
I have installed the 18.104.22.168 kernel along with the source. I figured /usr/src/linux-22.214.171.124 would be the correct source path. Still not working.
How do I check what version of gcc the kernel is compiled with?
Nothing has worked yet. I am beginning to think that there is something wrong with my hardware soon. Even though it works just fine in Windows XP. It can't be that hard to make drivers that actually work, can it?
It's sort of a shortcut to the folder (if you do "cd linux" it will bring you to the linux-126.96.36.199 folder). It's easier to use cause programs search for /usr/src/linux as that one isn't dependent on versions but links to the proper kernel source.
Is that for an error you're getting or do you have another error?