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/07/08 15:14] – external edit 127.0.0.1en: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. 
 + 
 +    * 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 52: Line 54:
 <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 boot-loader (optional)+    * Configure the bootloader (optional)
 <code> <code>
 # leafpad /boot/grub/menu.lst # leafpad /boot/grub/menu.lst
Line 64: Line 66:
  
     * Add the new kernel to the list     * 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>
  
 ----  ---- 
Line 75: 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.1278602052.txt.gz · Last modified: (external edit)