PDA

View Full Version : Upgrade from centos 3.x to 4.x


pascal
06-21-2005, 01:12 PM
Hello,

Is there an easy way to upgarde a centos 3.4 OS to a centos 4.x OS ?

do I simply have to change the yum.conf to add this line :

[base]
name=CentOS-$releasever - Base
baseurl=http://mirror.centos.org/centos/4.1/os/i386/

then run yum update

or directly run something like
rpm -Uvh http://mirror.centos.org/centos/4.1/os/i386/CentOS/RPMS/centos-release-4-1.2.i386.rpm

then update the yum.conf to gave the centos 4 tree

Thanks

Pascal

IWorx-Chris
06-21-2005, 01:26 PM
You *should* be able to Pascal and I do know of 1 or 2 folks doing so with iworx installed.

!!! THIS IS JUST MY THEORY AND SHOULD NOT BE DONE ON PRODUCTION BOXES. I HAVE NEVER TESTED THIS OVER MAJOR VERSIONS OF CENTOS !!!

Install the 4.0 "centos-release" RPM manuallly from the centos repository. Then 'yum upgrade' (NOT yum update) and you should be updated to centos 4 from 3.x.

While I was typign this I searched on the centos forums and found:

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=654&viewmode=flat&order=ASC&start=0

Which I'm sure is more authoritative :).

Chris

pascal
06-21-2005, 02:02 PM
So if there is one or two folks with iworx already installed you recommand me to not upgrade to centos 4 ?

In fact I'd liek to do this to also upgrade to kernel 2.6 and I know that centos 4 has better improvment for kernel 2.6 smp and Ht

Pascal

IWorx-Chris
06-21-2005, 02:05 PM
There are 1 or 2 folks I know have done the 3.x to 4.x upgrade with iworx installed. I have no other details so I'm not sure if it was an ongoing success or what, which is why I'm simply cautios.

Chris

pascal
06-21-2005, 02:36 PM
As was mentioned in the release announcement and has been repeated time and again - the yum upgrade route is not supported for a move to CentOS 4.


It's true that some people in the thread you told about has successfuly upgraded to centos 4 from centos 3.4 but with a lot of pbms and high risks

So the best thing I think is to upgrade by downloading just the single boot.iso file and run the installer to download + install over the internet or to use the remote boot images and setup grub to load those next time I reboot or via a vnc solution

well I'll ask to my DC.

Thanks Chris for the info

Pascal