LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-09-2005, 08:36 PM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Rep: Reputation: 51
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
 
Old 07-09-2005, 09:29 PM   #2
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Rep: Reputation: 30
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
 
Old 07-10-2005, 05:08 AM   #3
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
If you want to configure it yourself check the sticky thread in this forum It's all about updating the kernel.
 
Old 07-11-2005, 12:13 PM   #4
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
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.
 
Old 07-27-2005, 04:09 AM   #5
juanjavier_xxx
Member
 
Registered: Aug 2004
Location: Madrid, Spain
Distribution: Debian stable.
Posts: 186

Rep: Reputation: 31
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
 
Old 07-27-2005, 06:26 AM   #6
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
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.
 
Old 07-27-2005, 09:30 AM   #7
juanjavier_xxx
Member
 
Registered: Aug 2004
Location: Madrid, Spain
Distribution: Debian stable.
Posts: 186

Rep: Reputation: 31
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....

JuanJa.
 
Old 08-01-2005, 07:26 AM   #8
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Rep: Reputation: 30
well, yeah, that is true.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't compile XChat on Debian Sarge (Perl problem?) Ninja Cow Debian 4 04-15-2007 03:30 PM
DISCUSSION: ndiswrapper on Debian Sarge without having to compile anything MikeZila LinuxAnswers Discussion 64 01-14-2007 10:03 AM
Debian Sarge 2.6 Kernel No Network willis3000 Linux - Networking 6 04-16-2005 03:04 PM
Base install sarge - kernel compile? insyte Debian 3 08-13-2004 03:58 PM
PCMCIA-CS Compile Error on Debian Sarge PPC haimeltjnfg Linux - Software 0 05-23-2004 11:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration