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.
hi,
I tried to install nvidia drivers on my system,on which i have knoppix with kernel 2.6.12;
But during installation i got an error than you need to compile your kernel,but i dont know hoe to compile kernel so if please help me to know what are the compilation command for kernel;
Thank You
The steps should be something like the ones below. You may have multiple kernels or kernel sources, so you'll need to substitute the version number where I've typed version.
1. change to the directory cd /usr/src/linux-version
2. execute the make menuconfig command
3. Add/Remove kernel modules. The error may have said what you need to include.
4. Save the changes and exit
5. execute the following make && make modules && make modules_install
6. Copy your new kernel to /boot by executing cp arch/i386/boot/bzImage /boot/bzImage-version
7. Edit your bootloader to include an option to boot the new kernel.
I don't have knoppix installed, I do have the live CD, so I might not be much help. But could it be he/she just needs kernel source or headers required for compiling modules?.
Last edited by Junior Hacker; 01-29-2007 at 03:04 AM.
If what you downloaded from nVidia was a script & modules, it could be that it failed because it couldn't find kernel source headers like "Junior Hacker" said.
i have teh NVIDIA drivers.. the installer does all teh compiling for you, all you need is the Kernel-source (or kernel-headers depending on distro) pakages installed.
open your distros pakage manager then search for kernel, install anything taht sounds remotly like those 2 pakages, that has the same version number asd the kerenel you can see,
if you post yoru distro i may be able to be more sepific.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.