Help with Kernel source build, install ... - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2004
    Bristol, UK
    0 Post(s)
    0 Thread(s)

    Red face Help with Kernel source build, install ...

    Ok, I have currently got a working install, my source is there, and my wireless card (which I neede the source for) is working perfectly.

    BUT, I seem to have followeed tips and commands from quite a few different people, and I have ended up with quite a lot of stuff to do to install the kernel source, I would like someone that has done this to post the exact sequence of commands that they would use for installing their kernel source.

    Or perhaps some one could go through what I think is the complete list of commands that I did and tell me if there are steps I took that where a complete waste of time?

    Also with my steps, I don't know what I should have been expecting at the different stages, so I don't know if I have missed something out, or what.

    STUPID I know - but it seemed to get the job done, but lets face it, getting the job done is not the be all and end all, I would actually like to know what I am doing if someone has the time/knowledge to take me through it.
    The steps that I did (explanations not necessary, as its just made up from posts and emails)
    su -
    up2date --get-source kernel
    (definately not sure about the following)
    cd ~
    cp -a /usr/src/redhat/ rpmbuild
    echo '%_topdir %(echo $HOME)/rpmbuild' >> .rpmmacros
    rpm -ivh kernel-<VERSION>.src.rpm
    cd ~/rpmbuild/SPECS/
    rpmbuild -bp --target=i686 kernel-2.6.spec
    cd ~/rpmbuild/BUILD/kernel-<version>/linux-<version>
    make menuconfig
    time make rpm
    cd ~/rpmbuild/RPMS/<arch>
    rpm -ivh <new-kernel-here>
    cd ~/rpmbuild/SPECS/ 
    rpmbuild -bp --target=<arch> kernel-<arch>.spec
    cd ..
    cd BUILD/
    cd kernel-2.6.10
    cd kernel 2.6.10
    make install
    If I look stupid - there's not a lot I can do about that, but I will try to help other people with this information, so if you can point me in the right direction, I will hopefully learn something, and be able to point others in the right direction also.

    Thank you


  2. #2
    sph Guest
    you may want to use 'make xconfig' instead of 'make menuconfig' (an X server must be running of course)
    it's easier to use

  3. #3
    Join Date
    Nov 2004
    Bristol, UK
    0 Post(s)
    0 Thread(s)
    cool, will have to try this the next time I need to rebuild my kernel source.

    keep em coming

    I just feel like a duck out of water when it comes to the kernel.


  4. #4
    Void Main Guest
    This thread sort of continues here:

    It also prompted me to create yet another FC3 kernel build HOWTO:

Similar Threads

  1. FC8 install on PS3: Kernel build error
    By dar.woods in forum Mac Chat
    Replies: 0
    Last Post: 30th April 2009, 09:58 PM
  2. Install kernel-devel and build source code tree
    By Michael Harris in forum Installation, Upgrades and Live Media
    Replies: 2
    Last Post: 20th February 2006, 10:27 PM
  3. Kernel Source Install: Failed build dependencies
    By niterida in forum Using Fedora
    Replies: 4
    Last Post: 16th September 2005, 05:13 PM

Tags for this Thread

Posting Permissions

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