Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
en:guides:kernel [2011/01/06 20:40] – Include /usr/bin/get-linux-source command. woodten: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>
Line 35: 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. 
 + 
 +    * Change working directory to the kernel source tree directory.
  
-    * Go to the directory that contains the kernel source tree. 
 <code> <code>
 # cd /usr/src/linux # cd /usr/src/linux
 </code> </code>
  
-    * Prepare the build from the default configuration.+    * Preparing the build from the default configuration:
 <code> <code>
 # make oldconfig && make prepare # make oldconfig && make prepare
Line 56: Line 57:
 # 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 boot-loader (optional)+    * Configure the bootloader (optional)
 <code> <code>
 # leafpad /boot/grub/menu.lst # leafpad /boot/grub/menu.lst
Line 67: Line 68:
 <file> <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
Line 76: Line 77:
 ^  Page Review Section  ^^  ^  Page Review Section  ^^ 
 |Quality| Medium  | |Quality| Medium  |
-|Review| Minor/Major Updates  |+|Review| Minor and Major Updates  |
 |Priority| Medium | |Priority| Medium |
 |Problems| add a [[http://forum.slitaz.org|forum post link]]| |Problems| add a [[http://forum.slitaz.org|forum post link]]|
 |:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker 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"| |How to Improve| Add "tazwok cook linux"|
-|::: |  |+|::: | Bootloader configuration should be adapted to GRUB2 |
  
 \\ \\
 ---- ----
 +
 
en/guides/kernel.1294346446.txt.gz · Last modified: by woodt