LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   compile the new kernel 2.6 on Debian Sarge (https://www.linuxquestions.org/questions/debian-26/compile-the-new-kernel-2-6-on-debian-sarge-341726/)

cccc 07-09-2005 08:36 PM

compile the new kernel 2.6 on Debian Sarge
 
hi

which is the best way to compile a new kernel from 2.4.27 to 2.6
on Debian Sarge Stable ?

greetings
cccc

jsmarshall85 07-09-2005 09:29 PM

ive never compiled a kernel, never seen the need to. but to install a 2.6 kernel on debian is to just apt-get install kernel-image-2.6.x and kernel-source-2.6.x. you may also need the kernel-headers packages as well. reboot and voila! running 2.6. check the package lists for the exact names of the kernels and which ones you need (amd64, smp, 686).

hope that helps

darkleaf 07-10-2005 05:08 AM

If you want to configure it yourself check the sticky thread in this forum ;) It's all about updating the kernel.

basileus 07-11-2005 12:13 PM

apt-get or aptitude "kernel-tree-2.6.xx". It will include kernel source + patches. After installing above packages, follow these instructions:

http://anarka.org/linux/debian_kernel.html

If you have never configured a kernel, I suggest googling around so you wont make neededless mistakes. Also make sure you read all help sections while configuring the kernel.

juanjavier_xxx 07-27-2005 04:09 AM

Re: compile the new kernel 2.6 on Debian Sarge
 
Quote:

Originally posted by cccc
which is the best way to compile a new kernel from 2.4.27 to 2.6
on Debian Sarge Stable ?

I completely agree with jsmarshall85, is the simplest way to go around it, IMO.

Cheers,
JuanJavier

harken 07-27-2005 06:26 AM

Quote:

Originally posted by juanjavier_xxx
I completely agree with jsmarshall85, is the simplest way to go around it, IMO.
But that won't get you the latest kernel available. At least for testing, Debian is often 3-4 versions behind. And compiling the kernel as pristine sources isn't that hard...might even be fun as it makes you learn what kind of hardware you have. Also, you reduce the kernel's and the modules size as you can skip what you don't need.

juanjavier_xxx 07-27-2005 09:30 AM

Quote:

Originally posted by harken
But that won't get you the latest kernel available. At least for testing, Debian is often 3-4 versions behind. And compiling the kernel as pristine sources isn't that hard...might even be fun as it makes you learn what kind of hardware you have. Also, you reduce the kernel's and the modules size as you can skip what you don't need.
---Yep, that's right too....:rolleyes: :rolleyes:

JuanJa.

jsmarshall85 08-01-2005 07:26 AM

well, yeah, that is true. :)


All times are GMT -5. The time now is 03:36 PM.