Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
en:guides:kernel [2010/02/23 20:51] linea created |
en:guides:kernel [2010/08/22 23:36] linea |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Build your own custom Linux Kernel for SliTaz ====== | ====== Build your own custom Linux Kernel for SliTaz ====== | ||
- | === Prepare your system === | + | ===== Prepare your system ===== |
Line 34: | Line 34: | ||
</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 49: | ||
* 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 | ||
Line 58: | Line 58: | ||
</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… | + | \\ |
+ | ---- |