LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-25-2007, 04:40 PM   #1
Jubalint
Member
 
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
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
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 http://wiki.debian.org/InitrdReplacementOptions
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.. http://www.debian-administration.org/articles/291

how-to get from 2.6.8 to 2.6.14 + kernel.. http://www.dominik-epple.de/Sarge-Li...ird/index.html

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:
http://kernel-handbook.alioth.debian...initramfs.html


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.
 
  


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
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

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

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