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
|
The file should be in the main directory of the kernel source (in the same one you have .config). The filename is 'Makefile'.
|
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.
|
RE: Kernel
I am sorry but I cannot find the .config file for kernel
|
Re: RE: Kernel
Quote:
|
I don't think I installed the linux sources due to the fact that I do not have /usr/src/linux directory
|
that'll be why then. kernel.org?
|
RE: kernel
Ok what files do I need to get to start this process
|
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. |
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
|
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.
|
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.
|
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 ?
|
hey dude, if you want a good readme, use you one that follows in the source package ;) it worked for me :D
|
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. |