Link to home
Start Free TrialLog in
Avatar of antman
antman

asked on

compiling

where or how do I get the source and the program to compile my kernel "just want to see how much damage I can cause to my system" is it with the distribution disk for redhat
when I was loading it it showed me that it was going to be installed but I havent seen it yet

thanks
Avatar of s_turner99
s_turner99

I installed RedHat 6.0 (2 CD-ROMs), and saw some notes that the source code was on the second CD-ROM.  But, it turns out that source code *was* copied from that first CD-ROM while I was installing Linux.  If you want to download it you can try www.redhat.com, but it would be a rather large download.  The source is also available from numerous other sites.

The program used to compile the kernel is simply the GNU C compiler, it is typically invoked from the "make" command.

You may want to try the following commands to recompile the kernel:

# cd /usr/src/linux
# make clean
# make config   (or make menuconfig or make xconfig)
# make dep
# make bzImage

(This info. originally came from rwenzla@lc)

Best of luck to you!
The source is installed in /usr/src/linux directory. If it isn't there check for any srpm file on the CD. If that fails try linux*source*.rpm. Otherwise you can download the source from redhat.
There is an excellent HOWTO on recompiling th kernel. That should be in the /usr/docs directory.
ASKER CERTIFIED SOLUTION
Avatar of mzehner
mzehner

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial