Fedora Kernel Build

Carey Jung carey at itfreedom.com
Fri Jan 9 21:40:02 UTC 2004


>
> Mike Westkamper kirjoitti viestissään (lähetysaika Perjantai 09.
> Tammikuuta 2004 19:13):
> > Can someone point me to documentation on how to build a new
> > kernel using the Fedora distribution?
>
> http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide
> /ch-custom-kernel.html
>

This will fail, due to a bug in the .config generation process.  Where it
tells you to run 'make oldconfig', run it twice.  Here's a brief step by
step:

	yum install kernel-source
	cd /usr/src/linux-2.4
	make mrproper
	cp -f configs/kernel-2.4.22-i686-smp.config .config (*)
	make oldconfig
	make oldconfig
	make dep clean bzImage modules

* Pick the appropriate config file out of 'configs' to suit your purpose.

Carey





More information about the fedora-list mailing list