Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling Kernel

Hash: SHA1

Content-Type: text/plain; charset=us-ascii

Kent Borg <kentborg at> writes:

> I am running a Red Hat 7.3 box and trying to build and boot from
> 2.4.19 source I get from
> 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, 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


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 / YAHOO abreauj
Email jabr at / WWW / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99

Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /