Fandom

How To Wiki

How to compile the Linux kernel

1,797pages on
this wiki
Add New Page
Talk0 Share

Linux kernel


Getting the kernel sourceEdit

To compile a kernel, you will need the kernel source code. You can get it from http://www.kernel.org.

Simple methodEdit

First, configure the kernel, type:

make menuconfig

compileEdit

Next, compile the kernel, type:

make 
make modules
make modules_install 
make install

Verify grub boot loaderEdit

Update /boot/grub.conf file and make sure it is configured to boot just compiler kernel.

External linksEdit



From HowTo Wiki, a Wikia wiki.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.