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
en:guides:kernel [2010/04/17 14:10] fandesandroen:guides:kernel [2025/07/02 14:55] (current) hgt
Line 4: Line 4:
  
  
-    * Install the slitaz-toolchain meta package. This package contains the required base files.+    * Install the meta package slitaz-toolchain. This package contains the basic packages:
         * binutils         * binutils
         * linux-headers         * linux-headers
Line 24: Line 24:
 </code> </code>
  
-    * SliTaz provides linux-source package. The kernel source tree will be downloaded from the mirror, installed to the /usr/src/linux-<VERSION> directory, and patched for SliTaz..+    * SliTaz provides the package linux-source. The kernel sources will be downloaded from the mirror, installed in the directory /usr/src/linux-<VERSION>, and patched for SliTaz.
  
 <code> <code>
 # tazpkg get-install linux-source # tazpkg get-install linux-source
 +# /usr/bin/get-linux-source
 # ls -l /usr/src # ls -l /usr/src
 lrwxrwxrwx    1 root     root           21 Jul 21 21:27 linux -> linux-2.6.25.5-slitaz lrwxrwxrwx    1 root     root           21 Jul 21 21:27 linux -> linux-2.6.25.5-slitaz
Line 34: Line 35:
 </code> </code>
  
-===== Configure and compile =====+===== Configuration and Compilation =====
  
-The Linux kernel source tree is now ready to configure and compile.+The Linux kernel sources are now ready to be configured and compiled.
  
-    * Go to the kernel source tree directory.+    * Change working directory to the kernel source tree directory.
  
 <code> <code>
 # cd /usr/src/linux # cd /usr/src/linux
 </code> </code>
-    Prepare the build.+ 
 +    Preparing the build from the default configuration:
 <code> <code>
 # make oldconfig && make prepare # make oldconfig && make prepare
Line 49: Line 51:
  
      * Modify the kernel configuration to your needs, and compile.      * Modify the kernel configuration to your needs, and compile.
 +     * The //menuconfig// allows you to customise the kernel, which is built into the //bzImage// file. Any //modules// are built and then //install//ed in to the ///usr/include// directory. You should then copy the kernel itself to the ///boot// directory.
 <code> <code>
 # make menuconfig # make menuconfig
-# make bzImage+# make
 # make modules  # make modules 
 # make modules_install # make modules_install
-# cp arch/x86/boot/bzImage /boot+# cp   arch/x86/boot/bzImage /boot
 </code> </code>
  
     * Configure the bootloader (optional)     * Configure the bootloader (optional)
- 
 <code> <code>
 # leafpad /boot/grub/menu.lst # leafpad /boot/grub/menu.lst
 </code> </code>
  
-    * And add. +    * Add the new kernel to the list 
-<code>+<file>
 # My kernel: # My kernel:
-title SliTaz GNU/Linux (cooking) (Kernel <VERSION>)+title SliTaz GNU/Linux (cooking) (Kernel //version//)
  root (hd0,1)  root (hd0,1)
  kernel /boot/bzImage root=/dev/sda2  kernel /boot/bzImage root=/dev/sda2
-</code>+</file> 
 + 
 +----  
 +\\ 
 +^  Page Review Section  ^^  
 +|Quality| Medium 
 +|Review| Minor and Major Updates 
 +|Priority| Medium | 
 +|Problems| add a [[http://forum.slitaz.org|forum post link]]| 
 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]| 
 +|:::     | Bootloader configuration is described for old version of GRUB only | 
 +|How to Improve| Add "tazwok cook linux"
 +|::: | Bootloader configuration should be adapted to GRUB2 | 
 + 
 +\\ 
 +----
  
-Of course, adapt to your needs… 
 
en/guides/kernel.1271513434.txt.gz · Last modified: (external edit)