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.
ok well take the steps i take when i have to install nvidia drivers:
fire up your favorite text editor, and open up the file
you will see a line close to the top that says:
change the 5 to a 3...now reboot your computer, and you will boot directly to console..you will log in as root, navigate to your nvidia drivers, run the shell script, edit your xf86config file, and then exit out of root to your normal user, and then type startx...if it works, then you can then edit you /etc/inittab back to your default (id:5:initdefault) for you can boot directly back to X everytime you start your computer...the reason i don't tell you to change it back to 5 before you type startx, because if there is a problem, you can easily reboot the pc back to the console and troubleshoot whatever problem that exists...if you set it back to 5 before trying to startx for the first time using the nvidia drivers and there is a problem, then that is just going to be more grief for you....so anyways just follow the steps and you will be fine...whatever problems you have, if any, just post the issue, and we'll see if we can resolve it..
During the installation it asked if I wanted to connect to the nVidia ftp site to update kernel or something. I did and it said it couldnt find a match. So it shut down installation. Im going to bed tonight so if you can help please leave the suggestion here. Thanks for all your help man.
and thats why i told him not to do that, because if you go the nvidia fourms you will see that there is hundreds of problems and if you leave 5 in your inittab and something goes wrong then its going to keep booting 5 and then he will have to take additional steps to get back to console, thats why it is the safest to set the runlevel to 3 when installing the nvidia drivers...
but genesis as he said don't connect to the site...and i am wondering when you say you said yes and the installation aborted, did it say something like Unable to load the kernel module 'nvidia.o'.?? if so then you'll have to make a symlink to the right kernel because that means you updated your kernel and its pointing to the wrong one, but if it gave a message like this:
No precompiled kernel interface was found to match your kernel;
then this is just as easy as downloading your kernel sources, cause the nvidia installation needs this to complete...
so go to your console and type rpm -qa|grep -i kernel
you should see something like:
this is what i get but you see how there is a kernel package and a kernel source package, and if thats the error you got then more than likely you won't have the kernel-source package and all you have to do is install that and your installation will work..
Ok it seems I do need the Kernel Soruce. Do you know where I can get them? My Kernel has been updated since I installed RH9. I use the up2date tool and it told me to update my kernel. Not sure where to find the source files. Thanks for all your help.
hrmm, well if you did a kernel update through up2date then the kernel source package should of been one of them updates...if you don't have the check mark down by your clock for up2date then you still have updates so maybe that is one of them, and if you do have the checkmark, then click it and hit the "ignored packages" tab and see if kernel source is listed there and if so hit the left error in the center of the screen to move it back to available updates...
if none of that is the case then your going to have to find it and install it manually..i am not sure off hand where you'll get it cause you never told me what kernel you updated to ;-)...
but hopefully when you look through this list: list of redhat rpm packages for kernel source
i assume you have kernel 2.4.20 but i maybe wrong, just look through that list and make sure its the exact version you download...there is 7 different 2.4.20 kernel sources if you can't see the whole filename to see the last couple digits just hold your mouse over the name and look at your bottom browser status bar to see the complete link and you'll see the whole version number.
have fun! :P
yes sometimes the rpm in redhat crashes and you have to for a lack of better terms "manually fix it"...
so just open your terminal, and log in as root and issue the command "cd /var/lib/rpm" and then issue the command "rm -f __db.*" and then you should be able to install your rpm package..
I dowloaded gcc and tried to run it and it said I needed cpp as a dependency. I download cpp and it said I already had a new version of cpp installed. I try to unistall cpp and it says the xfree86 needs it. This is very complex.