Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:guides:kernel [2010/02/23 19:51] – created linea | en:guides:kernel [2025/07/02 14:55] (current) – hgt | ||
|---|---|---|---|
| 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 |
| - | * Install the slitaz-toolchain | + | * Install the meta package |
| * binutils | * binutils | ||
| * linux-headers | * linux-headers | ||
| Line 24: | Line 24: | ||
| </ | </ | ||
| - | * SliTaz provides | + | * SliTaz provides |
| < | < | ||
| # tazpkg get-install linux-source | # tazpkg get-install linux-source | ||
| + | # / | ||
| # ls -l /usr/src | # ls -l /usr/src | ||
| lrwxrwxrwx | lrwxrwxrwx | ||
| Line 34: | Line 35: | ||
| </ | </ | ||
| - | === Configure | + | ===== Configuration |
| - | The Linux kernel | + | The Linux kernel |
| - | * Go to the kernel source tree directory. | + | * Change working directory |
| < | < | ||
| # cd / | # cd / | ||
| </ | </ | ||
| - | | + | |
| + | | ||
| < | < | ||
| # 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 // | ||
| < | < | ||
| # make menuconfig | # make menuconfig | ||
| - | # make bzImage | + | # make |
| # make modules | # make modules | ||
| # make modules_install | # make modules_install | ||
| - | # cp arch/ | + | # cp |
| </ | </ | ||
| * Configure the bootloader (optional) | * Configure the bootloader (optional) | ||
| - | |||
| < | < | ||
| - | # leafpad / | + | # leafpad / |
| </ | </ | ||
| - | * And add. | + | * Add the new kernel to the list |
| - | <code> | + | <file> |
| # My kernel: | # My kernel: | ||
| - | title SliTaz GNU/Linux (cooking) (Kernel | + | title SliTaz GNU/Linux (cooking) (Kernel |
| root (hd0,1) | root (hd0,1) | ||
| kernel / | kernel / | ||
| - | </code> | + | </file> |
| + | |||
| + | ---- | ||
| + | \\ | ||
| + | ^ Page Review Section | ||
| + | |Quality| Medium | ||
| + | |Review| Minor and Major Updates | ||
| + | |Priority| Medium | | ||
| + | |Problems| add a [[http:// | ||
| + | |::: | OR add a [[http:// | ||
| + | |::: | Bootloader configuration is described for old version of GRUB only | | ||
| + | |How to Improve| Add " | ||
| + | |::: | Bootloader configuration should be adapted to GRUB2 | | ||
| + | |||
| + | \\ | ||
| + | ---- | ||
| - | Of course, adapt to your needs… | ||