LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compiling Kernel 2.4.0 (https://www.linuxquestions.org/questions/linux-software-2/compiling-kernel-2-4-0-a-748/)

BigDan 02-02-2001 02:22 AM

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.

BigDan 02-02-2001 10:55 AM

Oops...this is for Mandrake 7.2
 
I forgot to include the fact that this is Mandrake 7.2 that I am trying to compile the kernel for, in case this makes a difference.
Thanks....Dan

BigDan 02-02-2001 09:04 PM

Make Install
 
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.

Now, it won't boot at all, any ideas?

jeremy 02-03-2001 12:26 AM

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.

BigDan 02-03-2001 04:27 PM

Thanks
 
For some reason, Xconfigurator seemed to be the correct command, it worked anyways, I have got it compiled and running now, thanks for your help.

SMP is enabled now, and both processors are being used.

Now, to figure out how to use my dual-monitor display on my Matrox G400 Max withn Linux......


All times are GMT -5. The time now is 12:23 AM.