Revision [29138]

This is an old revision of CompilingKernel made by coolpup on 2013-10-12 12:49:28.

 

HomePage > ComponentHowTo Components and HowTos > CompilingIndex Compiling

Compiling Kernel


Pre-requisites:

Go to https://www.kernel.org and select a kernel to download, e.g.:
wget -c https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.9.5.tar.xz

cp linux-3.9.5.tar.xz /usr/src

cd /usr/src

tar xfv linux-3.9.5.tar.xz

rm -f linux

ln -fnsv linux-3.9.5 linux

cd /usr/src/linux

make oldconfig

make menuconfig

time make -j N
where N is the number of C.P.U. cores
make modules_install

make install

reboot


Appendix

http://bkhome.org/sources/kernel-3.2.18/bk-readme.htm
http://puppylinux.com/development/compilekernel.htm
http://kernelnewbies.org/FAQ/KernelCompilation
http://distrowatch.com/weekly.php?issue=20110418#tips
http://www.murga-linux.com/puppy/viewtopic.php?t=67706

http://murga-linux.com/puppy/viewtopic.php?p=442935#442935
http://www.murga-linux.com/puppy/viewtopic.php?t=33461
http://www.cyberciti.biz/tips/compiling-linux-kernel-26.html
http://www.linux.com/archive/feature/118524
http://www.tuxradar.com/content/how-compile-linux-kernel
http://www.linuxforums.org/forum/linux-kernel/55612-mini-howto-compile-linux-kernel-2-6-a.html
http://easylinuxcds.com/blog/?p=3244
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-custom-kernel-modularized.html
http://www.howtoforge.net/kernel_compilation_fedora
http://linuxpoison.blogspot.com/2008/07/how-to-compile-linux-kernel.html



Categories
CategoryDevelopment
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki