how_to_compile_the_linux_kernel
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | how_to_compile_the_linux_kernel [2010/12/03 23:33] (current) – created tkbletsc | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Compiling the Linux Kernel ====== | ||
| + | Get a kernel: | ||
| + | $ wget http:// | ||
| + | |||
| + | Extract: | ||
| + | $ tar xjf linux-2.6.30.tar.bz2 | ||
| + | $ cd linux-2.6.30 | ||
| + | |||
| + | Make a '' | ||
| + | $ make menuconfig | ||
| + | <menu appears, choose Exit> | ||
| + | <Do you want to save the config? | ||
| + | |||
| + | If you're going to be modifying the kernel, you should append something to the kernel version to differentiate it from " | ||
| + | |||
| + | Compile the kernel and modules. | ||
| + | $ make -j 16 | ||
| + | <A ton of output> | ||
| + | |||
| + | Copy the kernel modules to their rightful place (''/ | ||
| + | $ sudo make modules_install | ||
| + | |||
| + | You can install the kernel and related stuff to /boot and update the grub menu automatically on most distributions: | ||
| + | $ sudo make install | ||
| + | |||
| + | You should now be able to reboot and choose the new kernel. | ||
how_to_compile_the_linux_kernel.txt · Last modified: by tkbletsc
