Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-25-2007, 04:40 PM   #1
Registered: Mar 2004
Distribution: Debian
Posts: 35

Rep: Reputation: 15
Server Kernel Update

I'm running a dedicated server with Deb3.1 Sarge and CLI only. It has the 2.4 kernel and I'd like to update it with a vanila 2.6 kernel. I access the server remotely, so I'm looking for the safest, easiest way for me to upgrade. I've looked over a few kernel upgrade tutorials but they seem to be mostly targeted at desktop usage. A link or a simple guide would be very appreciated .
Old 03-25-2007, 09:57 PM   #2
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,247
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Going from 2.4 to 2.6 kernel has always been pretty problematic because of other changes that are necessary in the system.

The system changes out initrd-tools for initramfs
And I remember having to install yaird when attempting to switch..

Also in later 2.6 Kernels (I think it was >= 2.6.12 ) udev replaces devfs.. yet another issue that could leave you with a non-bootable system..

how-to get from 2.6.8 to 2.6.14 + kernel..

Beyond those two items there are several other packages that need to be at certain minimum versions, and several new packages you will need to have installed before trying to migrate..

Needless to say I don't think I ever switched from 2.4 to 2.6 successfully on Debian 3.1 I usually opted for a re-install using the linux26 at boot time of the Debian Sarge CD..

I don't think that is an upgrade I would attempt remotely, since a simple slip up will cause your server to be non-bootable with the new kernel..

Other resources you may find useful:

So basically I'd again like to discourage you from attempting this upgrade remotely.. Maybe install Debian on a local machine with the 2.4 kernel, then work out HOW you can accomplish the upgrade successfully over an SSH connection. before even attempting it remotely.

Go to your remote server and export the package list, import the list into your test system and make the package set match..
you know the old :
dpkg --get-selections > selections.txt
dpkg --set-selections < selections.txt

Is there some reason your Production server needs to be on 2.6 ? if not best bet is to leave it alone and just keep applying the 2.4 kernel security updates..

Last edited by farslayer; 03-25-2007 at 09:58 PM.


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
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
X server not working after yum update & font server problems snow93 Linux - Software 1 08-02-2006 05:26 AM
YaST Online Update(YOU) Kernel Update? batorma Linux - Newbie 9 10-30-2005 03:17 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 11:01 AM
Couldn't start X server after update kernel TamLe Red Hat 8 02-22-2004 08:35 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:01 PM.

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