Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I am trying to install the new kernel. When I type make xconfig at a terminal prompt, I get "bash: xconfig: command not found" am I missing something here?
I am new to Linux, am trying to get my second processor to be recognized, was told I need to re-compile my kernel, so figured I might as well use the new one.
What directory does this command need to be run from?
I assume /usr/src/linux ????
What does the whole command look like - "make xconfig" or "make xconfig 2.4.0", I have tried both.
I figured out the problem with "make xconfig", for one, it has to be "make Xconfigurator", and it has to be in the directory where the bzImage is....
So, got past that problem, got the kernel recompiled (used the 2.2.17-21, figured if I can get it to work, I will try the latest), managed to boot into it even, but when I tried to do a "make install" to move it to it's proper directory and whatever else that command does, the thing crashed.
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,607
Rep:
make xconfig was the right command. Here is a QUICK kernel recompile HOWTO.
1) Untar the kernel source into /usr/src/linux
2) Do a make by typing either make xconfig (if you are in X), make menuconfig (uses ncurses - this is the one I use) or make config (very old style and not recommended).
3) make dep
4) make clean
5) make bzImage
6) make modules
7) make modules_install
There is no make install for the kernel. You can either copy the files into /boot or do a make bzlilo which will put vmlinuz and System.Map into the root directory. Hope this helps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.