LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-24-2010, 07:13 AM   #1
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Rep: Reputation: 33
Installing kernel 2.6.32 kernel on debian lenny.


I would like to update my kernel to version 2.6.32 to see if it solves my tv-tuner card issues (not being recognized by the kernel Lenny uses 2.6.26-2 x64).

What steps should I follow to accomplish this upgrade?

Thanks in advance,
Glore2002.-
 
Old 05-24-2010, 07:24 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

In Debian you can use a 'simplified' solution to compile a kernel. I've done it on several occasions and has never failed me. Below is the procedure I follow normally which I found on the internet.

First prepare your Debian installation.
Code:
apt-get install kernel-package libncurses5-dev fakeroot wget bzip2
cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.X.tar.bz2
tar xjf linux-2.6.X.tar.bz2
cd linux-2.6.X/
make menuconfig
where X is the kernel's minor version number.
It is normally a good idea to take the configuration of your existing (working!) kernel 2.6 as a starting point for the configuration of your new kernel. Usually the current kernel configuration is saved in a file under boot, e.g. boot/config-2.6.X.
Exit the menu and run the following:
Code:
make-kpkg clean
fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image
where you can change custom.1.0 to something else if you want it.
If the compilation exits with an error, run:
Code:
make clean
and start over again from the make menuconfig command.
If all finishes well then you can run:
Code:
dpkg -i kernel-image-2.6.11.7_custom.1.0_i386.deb
to install the new kernel and perform all necessary steps like changing initram, adding to Grub boot menu, etc. Reboot your system into the new kernel and check if the options you selected are available.

Kind regards,

Eric
 
1 members found this post helpful.
Old 05-24-2010, 09:56 AM   #3
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
http://backports.org/dokuwiki/doku.php
http://packages.debian.org/search?ke...enny-backports
 
Old 05-25-2010, 02:40 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
You can browse packages in the testing version. You need either linux-image-2.6.32-arch, OR linux-sources-2.6.32, linux-kbuild-2.6.32, and linux-support-2.6.32 from the the testing branch; and kernel-package, build- essentials and libqt3-mt from the stable branch to compile a kernel using 'make xconfig'.
 
Old 05-25-2010, 02:51 AM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Do not mix Stable and testing, use backports instead.

1. Add this line

deb http://www.backports.org/debian lenny-backports main contrib non-free

to your /etc/apt/sources.list.

2. Run aptitude update

3. aptitude -t lenny-backports install debian-backports-keyring linux-image-2.6.32-bpo.3-amd64 linux-headers-2.6.32-bpo.3-amd64
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Debian Lenny 2.6.34 kernel panic addux Linux - General 3 05-18-2010 11:41 AM
Kernel(2.6.18) compilation error in Debian Lenny jestinjoy Linux - General 5 05-03-2010 11:48 AM
can i update Debian Lenny 5 kernel without problems !! L!NuS Debian 40 02-21-2010 11:16 PM
upgrade the kernel on the VM with debian lenny cccc Debian 6 02-18-2009 01:03 PM
Kernel panic-on Debian lenny Vassos Linux - Kernel 1 08-10-2008 11:21 PM

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

All times are GMT -5. The time now is 04:58 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