LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 02-02-2001, 02:22 AM   #1
BigDan
LQ Newbie
 
Registered: Jan 2001
Posts: 12

Rep: Reputation: 0
Exclamation


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.
 
Old 02-02-2001, 10:55 AM   #2
BigDan
LQ Newbie
 
Registered: Jan 2001
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 02-02-2001, 09:04 PM   #3
BigDan
LQ Newbie
 
Registered: Jan 2001
Posts: 12

Original Poster
Rep: Reputation: 0
Lightbulb 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?
 
Old 02-03-2001, 12:26 AM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,607

Rep: Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104
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.
 
Old 02-03-2001, 04:27 PM   #5
BigDan
LQ Newbie
 
Registered: Jan 2001
Posts: 12

Original Poster
Rep: Reputation: 0
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......
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling kernel = kernel panic Tons of Fun Debian 5 07-02-2005 01:59 PM
Compiling kernel module for linux kernel 2.4 in 2.6 guam Linux - Software 0 01-13-2005 02:02 AM
Where Is Kernel Directory In Rh9(kernel 2.4.20-8), For Compiling HSP56 MR(pctel) Mode rudy3107 Linux - Software 1 07-25-2004 04:17 AM
Compiling new kernel joseph Linux - Software 2 10-14-2003 07:26 AM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration