SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:guides:kernel [2010/03/06 12:22]
linea
en:guides:kernel [2011/01/06 21:40] (current)
woodt Include /usr/bin/get-linux-source command.
Line 28: Line 28:
 <​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 ​=====+===== Configure and Compile ​=====
  
 The Linux kernel source tree is now ready to configure and compile. The Linux kernel source tree is now ready to configure and compile.
  
-    * Go 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.+ 
 +    ​* Prepare the build from the default configuration.
 <​code>​ <​code>​
 # make oldconfig && make prepare # make oldconfig && make prepare
Line 49: Line 50:
  
      * 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
Line 58: Line 59:
 </​code>​ </​code>​
  
-    * Configure the bootloader ​(optional) +    * Configure the boot-loader ​(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/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 ]]| 
 +|How to Improve| Add "​tazwok cook linux"​| 
 +|::: |  |
  
-Of course, adapt to your needs…+\\ 
 +----
 
en/guides/kernel.1267874563.txt.gz · Last modified: 2010/07/08 17:17 (external edit)