How are fedora kernels modified from vanilla kernels

David Cary Hart Fedora at TQMcube.com
Tue Oct 26 16:57:39 UTC 2004


On Tue, 2004-10-26 at 12:29, John DeDourek wrote:
> > 

> Is there a HOW-TO for non-kernel developers on how to
> build a custom kernel?  Requirements are:
> -- use the configuration of the running kernel
> -- run menu-config or whatever to make a change
> -- make a new kernel as whatever-custom
> -- install the new kernel for grub booting as an alternate kernel
> 
This thread is getting rather esoteric. From the .src.rpm you can create
a source-code kernel rpm by simply selecting ONLY the build source from
the SPEC file options ("1", all else "0"). Then rpmbuild --target i686
-bb <specfile>

Installing the source code rpm will create the commonly expected kernel
source tree in /usr/src. When Fedora was first installed, you created
config files in the boot directory. After make mrproper, it is quite
simple to load it from make menuconfig (if not loaded automatically).
>From there, make all, make modules_install, make install. That's it. No
BFD.
-- 
                            David Cary Hart
                                                         Hart's PGP key:
            http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x58A60BB1





More information about the fedora-list mailing list