DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Or do I have to stick to the classic method (download sources, extract, make menuconfig, make symbolic link, etc) as outlined by the debian reference at debian.org?
For using apt-get you should check /etc/apt/sources.list for an entry that will contain your kernel image. (man sources.list if you don't know how to use it).
Please note that the kernel image installation probably won't do everything for you, but it won't damage (in my opinion) what you already have. So it's safe to try an installation. Also the kernel there is compiled to be flexible to user needs, but you might have problems with it. After kernel installation there might be programs that don't work anymore in whcih case you will need to upgrade.
I upgraded kernel using apt-get just yesterday. Very cool of Debian!
I use Grub which, I think, makes kernel upgrades easier. In addition, I have file /etc/kernel-img.conf (that was already there after Debian installation) and it has these lines:
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = /sbin/update-grub
postrm_hook = /sbin/update-grub
All I needed to do was 'apt-get install kernel-image-2.6-686' and the next time I rebooted, Grub gave me the option to boot into a Debian Sid system with i686-optimized kernel 2.6.4-1.
i am using redhat and strugling with upgrading kernal. my linux version is
7.2 with default 2.4.7-10 kernal and want to upgrade it in 2.4.18-3,
but with tar file format i totaly faild or may i dont know proper procedure of upgradeing kernal in tar format.
then i download rpm its also faild .
if some know full anf proper methord of upgrading kernal in any file i will download relevent file format , please guied me step by step
Originally posted by Dead Parrot I upgraded kernel using apt-get just yesterday. Very cool of Debian!
...
All I needed to do was 'apt-get install kernel-image-2.6-686' and the next time I rebooted, Grub gave me the option to boot into a Debian Sid system with i686-optimized kernel 2.6.4-1.
Very nice! Can you tell me which debian and kernel you started off before the upgrade?
Well, originally I used a Sarge installer snapshot but I had already upgraded the system to Sid before I attempted the kernel upgrade. Just thought to mention that I use Sid because I'm not sure if 2.6.x kernel-images are yet in Sarge or Woody. Anyway, what impressed me was how easy it is to upgrade kernel from 2.4.x series to 2.6.x and to get it i686 optimized. No need to compile or anything! Some other distros could really learn from Debian. And because 'kernel-image-2.6-686' is a kind of 'meta-package' for the latest kernel in 2.6.x series, I'll expect that a simple 'apt-get dist-upgrade' will ensure that I'll always have the latest kernel from Sid repositories.
kernel 2.6 has been in sarge/testing for a few days...maybe a few months... it has been there quite on time. I wouldn't upgrade the kernel via apt-get but compile it. Once you've done it once, it takes five minutes to ensure you have what you need and according to your pc speed, it compiles.
A kernel is always configured for a hardware or particular needs, sometimes all the options you need are there for your system to work, sometimes no. It is a generic configuration to ensure MOST systems will work. If i have a rare network card, i might have to recompile...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.