User Tools

Site Tools


kernel_compiling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
kernel_compiling [2010/10/05 18:58] aorthkernel_compiling [2011/04/07 08:07] – [Configure] aorth
Line 7: Line 7:
 ===== Get the kernel sources ===== ===== Get the kernel sources =====
 http://www.kernel.org http://www.kernel.org
- 
 ===== Configure ====== ===== Configure ======
-<code>make +Shown here for kernel version "2.6.38.2-zen" Change the ''make -j4'' to the number of parallel make jobs you want to use (-j2 if you have a dual-core machine): 
-sudo make modules_install +<code>make -j4 
-sudo cp System.map /boot/System.map-2.6.35-zen2 +sudo make modules_install 
-$ sudo cp .config /boot/config-2.6.35-zen2 +sudo make install 
-$ sudo cp arch/x86_64/boot/bzImage /boot/vmlinuz-2.6.35-zen2 +sudo mkinitramfs -o /boot/initrd.img-2.6.38.2-zen 2.6.38.2-zen 
-sudo mkinitramfs -o /boot/initrd.img-2.6.35-zen2 2.6.35-zen2 +sudo update-grub</code>
-sudo update-grub2</code> +
 ====== Patch sets ====== ====== Patch sets ======
 Some custom "patch sets" for the Linux kernel are available.  Different patches target different functionality, like lower latency, better I/O scheduling, support for different workloads, etc: Some custom "patch sets" for the Linux kernel are available.  Different patches target different functionality, like lower latency, better I/O scheduling, support for different workloads, etc:
kernel_compiling.txt · Last modified: 2011/04/07 08:12 by aorth