Upgrade Debian Kernel

jmstacey

Verified User
Joined
Feb 12, 2004
Messages
4,106
Location
Colorado
These are the steps I went through upgrading the kernels on my Debian systems, so I'd thought I'd share them
These instructins apply only to Debian 3.0
3.1 uses a different method of upgrading and now doesn't require the use of debian packages to upgrade the kernel.

Let me know if you find any errors or typos in the code.


Install Prerequisites

apt-get install kernel-package ncurses-dev fakeroot bzip2

Update

cd /usr/src
Get the latest kernel version from kernel.org
wget http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.xx.tar.bz2
tar xjf linux-2.4.xx.tar.bz2
cd linux-2.4.xx/


make menuconfig
Load old configuration from /boot, make changes and save

make dep
make-kpkg clean
fakeroot make-kpkg –revision=custom.1.x kernel_image
cd ../
dpkg -i kernel-image-2.4.xx_custom_1.x_i386.deb
shutdown -r now
 
Actually you could do that with Debian 3.0, or just forget the packages system and do a source code install anyway.
 
Back
Top