Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
useful:kernel [2008/11/21 17:18] – created chemist | useful:kernel [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | # become root | ||
- | su | ||
- | ---- | ||
- | # change dir to build location | ||
- | |||
- | cd /usr/src | ||
- | ---- | ||
- | # get the current kernel | ||
- | |||
- | wget http:// | ||
- | ---- | ||
- | # extract source | ||
- | |||
- | tar xvfj linux-2.6.x.x.tar.bz2 | ||
- | ---- | ||
- | # remove old symlink | ||
- | |||
- | rm linux | ||
- | |||
- | # create new symlink | ||
- | |||
- | ln -s linux-2.6.x.x linux | ||
- | |||
- | # change dir to current source | ||
- | |||
- | cd linux | ||
- | |||
- | # copy YOUR current .config | ||
- | |||
- | cp / | ||
- | |||
- | # use old configuration | ||
- | |||
- | make oldconfig | ||
- | |||
- | # edit config (as it suites you) | ||
- | |||
- | make menuconfig | ||
- | |||
- | # compile | ||
- | |||
- | make -j10 && make -j10 modules | ||
- | |||
- | # install | ||
- | |||
- | make install && make modules_install | ||
- | |||
- | # update your bootloader | ||
- | |||
- | update-grub |
Last modified: le 2008/11/21 17:18