User Tools

Site Tools


linux:kernelcompile

Differences

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

Link to this comparison view

Next revision
Previous revision
linux:kernelcompile [2016/06/07 10:30] – created adminlinux:kernelcompile [2016/06/07 11:30] (current) admin
Line 1: Line 1:
 **Kernel Compilation** **Kernel Compilation**
  
-a) Kernel Compilation on Ubuntu\\+a) Kernel Compilation on Ubuntu
 <code bash> <code bash>
 make menuconfig make menuconfig
 make-kpkg clean make-kpkg clean
 fakeroot make-kpkg -j24 --initrd --append-to-version=-custom kernel_image kernel_headers modules_image  fakeroot make-kpkg -j24 --initrd --append-to-version=-custom kernel_image kernel_headers modules_image 
 +</code>
 +
 +b) Normal kernel compilation
 +
 +**Why compile a new kernel ?** \\
 +- New Hardware \\
 +- Bug \\
 +- New software \\
 +- You want to do it \\
 +
 +<code bash>
 +make menuconfig
 +make dep
 +make clean
 +make zImage
 +make modules
 +cp /usr/src/linux/arch/i386/boot/zImage /boot/mykernel
 +make modules_install
 +</code>
 +
 +c) Kernel signification in Makefile 2.4.22.1
 +<code bash>
 +Version=2
 +PatchLevel=4
 +Sublevel=22
 +Extraversion=-1
 </code> </code>
linux/kernelcompile.1465288217.txt.gz · Last modified: 2016/06/07 10:30 by admin