Compiling Kernel
John Abreau
jabr at abreau.net
Fri Nov 8 17:44:21 EST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Content-Type: text/plain; charset=us-ascii
Kent Borg <kentborg at borg.org> writes:
> I am running a Red Hat 7.3 box and trying to build and boot from
> 2.4.19 source I get from kernel.org.
>
> Can anyone give me a recipe for how to do this (including matching
> lilo.conf details)?
Last time I had to rebuild a kernel, on Redhat 7.1, I pulled the sources
from ftp.kernel.org, untarred them in my home directory, and did something
like the following:
make xconfig
<click the Load Config button>
<select /usr/src/linux-*/configs/kernel-*-athlon.config>
<poke thru xconfig gui to add firewire support>
<click the Save Config button>
make clean
make dep
sudo make rpm
This built a set of kernel rpms that appeared in
/usr/src/redhat/RPMS/athlon/
which I then installed.
The point of loading the existing config file was so the new kernel
would start with the same configuration as the kernel that Redhat
had distributed. That way I could be confident it would boot properly,
and I could make my modifications from a known good state.
- --
John Abreau / Executive Director, Boston Linux & Unix
ICQ 28611923 / AIM abreauj / JABBER jabr at jabber.org / YAHOO abreauj
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001
iQCVAwUBPcw+RFV9A5rVx7XZAQLewwP9GApanNgQFg8IJDHgaPzcgfVdCdeeQgo3
YSrxGEs9BVaaPMhKMrTKuUmf+ybvPws8seA35K6SSFbAlc/9dujvQedC8LauZqCA
7GNlKDhIVcRR5RQOtfbZW6LuctQ1wsQal00/yIhBvvlTlmNFwgPXiilulSrDOZfX
WmWT4M8499g=
=tFM7
-----END PGP SIGNATURE-----
More information about the Discuss
mailing list