Click to See Complete Forum and Search --> : Debian and kernels.


evulish
07-05-2001, 04:30 PM
Ok, I just installed the Debian base system and noticed it had kernel 2.2.*. Is there a way I can update it to 2.4.* or do I have to stick with 2.2 untill theres a new release?

godot
07-05-2001, 04:41 PM
download the src

cd /usr/src
tar zxf linux-2.4.6.tar.gz
cd linux
make menuconfig
apt-get install kernel-image
make-kpkg kernel_image
cd /usr/src
dpkg blah.deb

pretty neat, huh?

godot
07-05-2001, 04:42 PM
oh yeah, may need to install some ncurses stuff too

apt-get install libncurses5-dev or something like that

bdl
07-05-2001, 04:58 PM
Theres a hitch to that, especially the fact that modutils needs to be upgraded to work with the 2.4 series kernels. Please have a look at this page (http://www.fs.tum.de/~bunk/kernel-24.html), which describes which packages to get for potato.

Depending on how you use the system, you might consider adding 'woody' to your sources.list and getting the necessary updated packages that way, or just upgrading the entire system. I believe woody is slated to be released as 'stable' later this year, and I've always found it to be stable anyway.


BTW, the packages you need to do the standard kernel compile (on i386 platform)are:

kernel-package (allows you to install the kernel as a deb)
libncurses5-dev (nice to use make menuconfig)
bin86 (required to compile on i386)



[ 05 July 2001: Message edited by: bdl ]

godot
07-05-2001, 05:00 PM
shoot, forgot about that.....

crazyox2
07-05-2001, 07:53 PM
dpkg -i blah.deb

crazyox2
07-05-2001, 07:53 PM
http://hep.itp.tuwien.ac.at/~www/particle/Doc/kernel-package.html

Tfortysix
07-05-2001, 10:28 PM
Don't know why, but I couldn't use eth0 (tulip driver)with the 2.4.5 kernel deb, resource was always busy. Got it from kernel.org, and everything is fine, freakin wierd.