LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Linux Kernel (https://www.linuxquestions.org/questions/slackware-14/linux-kernel-87688/)

JROCK1980 08-31-2003 02:42 PM

Linux Kernel
 
Ok I was following previous thread about the making your own kernel. I cannot find the make file where it is stated that it will be at. Can anyone tell me where it might be then

Mara 08-31-2003 03:03 PM

The file should be in the main directory of the kernel source (in the same one you have .config). The filename is 'Makefile'.

LinFreak! 08-31-2003 04:26 PM

you will have to run "make xconfig" to create the makefile first! Notice that when installing any software from source you will have to configure it for your system by running "./configure", or similar, from the source directory. The command "make xconfig" (or "make menuconfig" for text only interface) is for the configuration of a kernel from source.

JROCK1980 09-01-2003 02:03 PM

RE: Kernel
 
I am sorry but I cannot find the .config file for kernel

trickykid 09-01-2003 02:07 PM

Re: RE: Kernel
 
Quote:

Originally posted by JROCK1980
I am sorry but I cannot find the .config file for kernel
Well unless you had one previous saved, it doesn't exist until after you configure the kernel... like with make xconfig or make menuconfig....

JROCK1980 09-01-2003 02:20 PM

I don't think I installed the linux sources due to the fact that I do not have /usr/src/linux directory

acid2000 09-01-2003 02:29 PM

that'll be why then. kernel.org?

JROCK1980 09-01-2003 02:45 PM

RE: kernel
 
Ok what files do I need to get to start this process

LinFreak! 09-01-2003 03:13 PM

kernel source and kernel headers.

try these

ftp://ftp.slackware.com/pub/slackwar...0-noarch-5.tgz

ftp://ftp.slackware.com/pub/slackwar....20-i386-5.tgz

:)

edit: once you have them, run "pkgtool" as root and install the above packages. You are now able to compile a kernel.

JROCK1980 09-02-2003 01:10 AM

RE: Kernel
 
So I just install the 2 packages and then make the menuconfig and stuff like that. Is there a good site that you can recommend with step by step instructions

Ekj530 09-02-2003 01:30 AM

I just compiled my first kernel and used the Slackware book on the Slack site and the sticky at the top of this forum. Just go to the kernel section(in the Slackware book http://www.slackware.com/book/index....urce=x948.html and it will tell you how to do it. If you follow the directions, it works like a charm. But, you do need to spend some time when you are selecting options for the kernel. I used the menuconfig and the xconfig option and xconfig was by far the easiest to navigate. And, make sure you read the help files for most options that relate to things you know you need. I missed my network card and it did not make the dependencies properly so I had to redo it. But, it was great for the experience.

JROCK1980 09-02-2003 02:00 AM

RE: Kernel
 
I will try that. I took a look and that book is nice. I will let you know how my first kernel goes.

JROCK1980 09-03-2003 12:50 AM

RE: Kernel
 
ok I got the teo packaages and I tar- xvzf filename do I have to add anything else or what do I do after that ?

Kjetil4455 09-03-2003 08:43 AM

hey dude, if you want a good readme, use you one that follows in the source package ;) it worked for me :D

JROCK1980 09-03-2003 12:12 PM

RE: Kernel
 
Ok I went thru the whole process and when I boot up in ether or my linux. They are both the same kernel. What did I do wrong?


All times are GMT -5. The time now is 04:53 AM.