2006-08-29

How to compile kernel in ubuntu

it is a good reference:
http://ubuntuforums.org/archive/index.php/t-24853.html


sudo apt-get install build-essential linux-source-2.6 libncurses5-dev kernel-package

cd /usr/src
tar xvjf linux-source*
cd linux-source
cp /boot/config-2.6.10.5-386 .config
sudo make menuconfig

cofigure the heck out of your kernel

sudo make-kpkg --revision-1 --append-to-version=mykerne1 kernel_image kernel_headers

cd ..
sudo dpkg -i linux-image-2.6.10*.deb

沒有留言: