LinuxQuestions.org
Help answer threads with 0 replies.
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 04-26-2006, 06:13 AM   #1
hkhiroya
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Rep: Reputation: 0
Kernel Change


hi,

i am currently using debian 3.1r1 and using kernel 2.4.27-2-386. I need to upgrade my kernel to a later newer version due to hardware. I am not very good at linux so can someone please guide me on how get and install the new version of the kernel (with the commands needed).

Help will be highly appreciated.

regards
harshil
 
Old 04-26-2006, 06:54 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Search first, question later.

Read this thread. I found it in 48 seconds by searching for "how to upgrade debian kernel to 2.6". My (almost) 12-year old son compiled and installed a 2.6.16.11 kernel on his Debian machine last night by following instructions he found by Googling the internet.
 
Old 04-26-2006, 07:09 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Or for those who want to build a kernel for any distro, this Kernel Rebuild Guide has the proper instructions. Why learn only the Debian way, when there are so many distros using the Linux kernel?
 
Old 04-26-2006, 07:33 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Why learn only the Debian way, when there are so many distros using the Linux kernel?
Because it makes a package with all advantages that it has.
I agree that it's still good to know how to do it for any distribution.
 
Old 04-26-2006, 08:05 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
If you apt-get a kernel, it's not even for your system -- it's generic. That rather defeats upgrading a kernel for your specific hardware. While it might be an easy, safe way for a newb to get a kernel -- he learns nothing. Linux distros offer the opportunity to not only learn about one's computer, but also, to tweak and tune it for maximum performance. Something unheard of for Windows or Macintosh OSes.
 
Old 04-26-2006, 11:16 AM   #6
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
I think you are talking of binary package while I'm talking of source kernel package.
I completly agree that for somebody new to this , its far better (and even easier in case of compile bug) to recompile a kernel using make,.. because it will work on every distro and will also work for other applications that are not provided by debian (and don't have a debian/rules file in their .tar.gz).

I sometimes recompile my kernel like this because I can't remember the line to type with make-kpkg (command that I also sometimes forget lol)

On the other hand doing it with make-kpkg to recompile a kernel will create a binary kernel package that you can for example easily uninstall with apt-get remove (and the doc in /usr/share/doc) ,..


hkhiroya, both methods are details here:
http://www.debian.org/doc/manuals/re...kernel.en.html


The other solution will be to install a binary package directly. A very general one with lots of stuff not needed but that would probably not slow the system.

Depends if you want to learn the inside of linux or if you have no time for this and only want to use it.
 
  


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
pacman -Su, kernel upgrade, kernel panic, change distro? jkh Arch 35 03-10-2006 01:14 AM
Change from stock 2.4 kernel to 2.6 kernel jrbush82 Slackware 6 02-11-2006 07:05 AM
How do I change my 2.6 to 2.4 kernel ?? carrie Linux - Newbie 4 10-11-2004 10:10 AM
Change Kernel Electboy Linux - General 3 08-01-2003 02:52 PM

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

All times are GMT -5. The time now is 11:24 AM.

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