Quote:
Originally Posted by cojones
I have a Debian machine with an outdated 2.4.27-2-386 kernel and tried several times to update it to 2.6. I tried apt-get, using old .config, using completely new config, some packages and many howtos.
|
If the machine is doing its job then why change it? There is nothing wrong with using a 2.4 kernel. Open Wall Linux still uses a 2.4 kernel. Don't change it unless you have a demonstrated need to do so. I'm not even sure that a 2.6 kernel will run on a 386 machine.
Quote:
Originally Posted by cojones
It never worked and I have no idea why. The problem is, that this is a server in some data center and I can only access it via SSH. So whenever a kernel update fails I have no idea why cause I can't see the error.
|
Some data center? So you can't put your hands on the machine! And you want to upgrade the kernel! Bad idea.
Quote:
Originally Posted by cojones
Might be a stupid question but is there a possibilty to install/compile/update a kernel that definitely gonna work?
I did it successfully a couple of times on other machines but I have no idea what's wrong with this machine...
|
There is probably nothing wrong with the machine. The process is flawed. Leave it alone or travel to the data center so that you can power cycle the machine and do other emergency recovery stuff when the whole thing breaks.
If you MUST change the software then do this:
1) Make a backup of the system that can be used to restore onto bare metal. A Partimage backup will do nicely.
2) Create a new partition.
3) Install the new version of Linux into the new partition.
This method will allow you to keep the old system available in case you have to roll back to it when the new version doesn't work. Belt and suspenders.