Click to See Complete Forum and Search --> : Want to compile a Kernel
buckaroo2001
01-11-2001, 11:43 AM
Hello People, I'm new to Linux and having alot of fin with it.
I'm ready to try to compile my kernel and even update my kernel from 2.2 to 2.4.
Now I'm running RH7, but when i tried to do a MAKE command, It does not find it.
My question is : IS MAKE Part of RH7 or I have to download it. if so where do I put it.
If I need to install it were do I get is or How do I install it...???
thanks you very much for your help..
knute
01-11-2001, 11:47 AM
The make rpm is probably on your redhad cd and was never needed until now, so you didn't miss it...
If the CD structure is the same as RH5.2 then you need to go onto the cd to the RedHat/RPMS dir and then as root rpm -Uvh make* should install it for you...
Good luck...
------------------
Knute
If it's on the network and ain't secured, it's free game.
sincka
01-11-2001, 04:31 PM
You need to download the kernel first of all, place in in your /usr/src directory. You then untar the file. After that is done you go to /usr/src/whatever . The watever stands for the name of the untarred file. From that directory you type:
1. make xconfig (or make config or whatever suits you best.)
2. make dep
3. make clean
4. make bzImage
5. make modules
6. make modules_install
By the way, the first option will let you choose what you want the kernel to be like http://www.linuxnewbie.org/ubb/smile.gif
When you have done all of these steps, the bzImage will be located in /usr/src/whatever/arch/i386/boot .
Note: I already told you what the whatever stands for and i386 is the processor type.
Anyway when you find the bzImage you then place it in /boot (that's where I keep mine).
After you have done all of this you have to edit the /etc/lilo.conf file and do what is necessary (**I am assuming you know what to do in the lilo.conf**).
After you have edited lilo.conf, you run it and reboot.
Tada! http://www.linuxnewbie.org/ubb/smile.gif
If you have any problems, well post. Don't worry, you'll get it... just don't give up.
------------------
Evil Is Good
[This message has been edited by sincka (edited 11 January 2001).]