[CentOS] Upgrading Centos 5.3 23Bit -> 64Bit

Alexander Dalloz ad+lists at uni-x.org
Sun Aug 30 12:25:59 UTC 2009


Götz Reinicke schrieb:
> Hi,
> 
> has anybody done an upgrade from an installed 32bit version to a 64bit?
> 
> If so, how?
> 
> Installing the 64bit version from scratch is an option, but I'm 
> interested also, if an upgrade is possible.
> 
> 
> Thanks and best regards,
> 
> 	Götz

Generally a fresh re-install is clearly recommended. But what you could
test (with a full valid backup) is following:

yum install $(rpm -qa --qf '%{name}.%{arch}\n' | grep i386 | sed -e
's/i386/x86_64/g')

And additionally to install those packages as x86_64 arch which are
installed as i686 arch already.

if you have a file /etc/rpm/platform, then adjust it or delete it. Once
all x86_64 packages required installed and kernel & grub proper, reboot.
The command "arch" should print out "x86_64" if I did not miss a detail
others on this list may know. You then can yum remove the ix86 rpms.

I did not test this. Act with care and a backup.

Alexander




More information about the CentOS mailing list