04 January 2006

Debian kernel Compilation .

hi happy ney year to all of you.
here i am writing that how you can compile your kernel under Debain Gnu/Linux.

# apt-get install debhelper modutils kernel-package libncurses5-dev
# apt-get install kernel-source-2.6.8 # use latest version
# apt-get install fakeroot
# vi /etc/kernel-pkg.conf # input name and email
$ cd /usr/src # build directory
$ tar --bzip2 -xvf kernel-source-2.6.8.tar.bz2
$ cd kernel-source-2.6.8 # if this is your kernel source
$ cp /boot/config-2.6.8-386 .config # get current config as default
$ make menuconfig # customize as one wishes
$ make-kpkg clean # must run (per: man make-kpkg)
$ fakeroot make-kpkg --append_to_version -386 --initrd /
--revision=rev.01 kernel_image
modules_image # modules_image is for pcmcia-cs* etc.
$ cd ..
# dpkg -i kernel-image*.deb pcmcia-cs*.deb # install

Thanks
Apenguin

No comments: