How to Recompile the Red Hat Kernel

Sharky Forums


Results 1 to 3 of 3

Thread: How to Recompile the Red Hat Kernel

  1. #1
    Catfish webraycer's Avatar
    Join Date
    Dec 2001
    Location
    Midlothian, VA, USA
    Posts
    187

    How to Recompile the Red Hat Kernel

    Can somebody point me in the right direction? I need step by step directions on how to recompile my kernel - I have red hat 8. I was told this is what I need to do to gain access to my ntfs partitions from linux. I read what looked like directions within a redhat readme file, but it didnt work. In the red hat installation it said "install these files to be able to recompile your kernel" and I installed those.

  2. #2
    Tiger Shark Vlad_M's Avatar
    Join Date
    Jun 2001
    Location
    Cape Town, South Africa
    Posts
    607
    Cd over to the /usr/share/docs directory, there will be a bunch of HOWTOs there. Look for the Kernel howto. It will give you detailed instructions on how to recompile it.

    If you are very impatient:

    cd over to /usr/src/linux/2.4.3-18
    make xconfig
    select all the options that you want/need
    make dep
    make bzImage
    make modules
    make mudules_install
    configure lilo (or grub)
    that's it.


    If the above steps don't make sense, then you definitely need to read the HOWTO. If the HOWTO is not in your docs directory, go to

    www.tldp.org

    and you'll find it there

    Cheers
    I wish I knew...

  3. #3
    Tiger Shark Digital Froggy's Avatar
    Join Date
    Dec 2000
    Location
    Dilworth, MN
    Posts
    963
    Generally, you're better off using Red Hat's updated kernel rpms as they are tested and tested and tested some more for stability and compatibility.

    But, it's probably a good idea to at least learn how to build you're own kernel. That's always a good thing to know if you wanna toy with Linux.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •