Compiling a 2.6 Linux kernel

Get the latest Kernel from kernel.org

Get a default .config file

cp /boot/config-`uname -r` ./.config

OR

make defconfig

Then configure the kernel - the hardest part 🙁

make xconfig

Compile/Install it

make
make modules_install
make install

[tags]kernel,linux,command,compile,configure,xconfig[/tags]

Author: Binny V A
A philosopher programmer who specializes in backend development and stoicism.

Leave a Reply

Your email address will not be published. Required fields are marked *