Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
useful:kernel [2008/11/22 17:58] – 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-kpkg clean | ||
- | |||
- | fakeroot make-kpkg --initrd kernel_image kernel_header | ||
- | |||
- | # install | ||
- | |||
- | dpkg -i k' | ||
- | |||
- | # update your bootloader | ||
- | |||
- | update-grub |
Last modified: le 2008/11/22 17:58