Difference between revisions of "I586 i686"
(Created page with '{{Languages|Architeture Change: i586 to i686}} {{Level|Advanced}} This HowTo are based on [http://bugs.contribs.org/show_bug.cgi?id=5568 this fixed bug]. {{Warning box|'''arch…') |
m (add category tag) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
− | {{Warning box|'''architecture change from i586 to i686 | + | {{Warning box|'''architecture change from i586 to i686''' |
It´s not for the newbies... and you should to have '''TWO copies of verified backup''', just in case}} | It´s not for the newbies... and you should to have '''TWO copies of verified backup''', just in case}} | ||
Line 58: | Line 58: | ||
Ok... no more doubts from here: you´re running a i586 kernel. | Ok... no more doubts from here: you´re running a i586 kernel. | ||
− | == | + | == Updating kernel (and addons) == |
=== Getting new i686 files === | === Getting new i686 files === | ||
Line 112: | Line 112: | ||
If anything do not works, please open a bug report. | If anything do not works, please open a bug report. | ||
+ | |||
+ | ---- | ||
+ | [[Category:Howto]] |
Latest revision as of 14:24, 16 November 2009
This HowTo are based on this fixed bug.
Description
This HowTo is to explain what to do when you migrate HDD from a i586 machine (Epia C3 Ezra for example) to a i696 (Pentium III or later).
How to be sure you´re running on i586 kernel
If you not sure about what kernel you´re running, you can do several things to be sure:
uname -a
It´ll show you something like:
Linux lobo 2.6.9-78.0.22.EL #1 Thu Apr 30 19:06:46 EDT 2009 i686 i686 i386 GNU/Linux
Please do not trust it and double check with:
yum list kernel
you´ll see something like this:
============================================================= Loading "protect-packages" plugin Loading "fastestmirror" plugin Loading "installonlyn" plugin Loading "smeserver" plugin Setting up repositories Loading mirror speeds from cached hostfile Reading repository metadata in from local files Excluding Packages from CentOS - updates Finished Excluding Packages from CentOS - os Finished Installed Packages kernel.i586 2.6.9-78.0.8.EL installed kernel.i586 2.6.9-67.0.7.EL installed kernel.i586 2.6.9-78.0.22.EL installed kernel.i586 2.6.9-78.0.13.EL installed ================================================================ No new rpms were installed. No additional commands are required. ================================================================
As you can see (this examples are from real world) uname report i686 but yum know what it installed i586 kernel!
you can even double check this with rpm with
rpm -q --queryformat "%{ARCH}\n" kernel
should result on something like this:
i586 i586 i586 i586
Ok... no more doubts from here: you´re running a i586 kernel.
Updating kernel (and addons)
Getting new i686 files
Open a new browser windows and download from here this files:
kernel-2.6.9-XX.YY.ZZ.EL.i686.rpm kernel-smp-2.6.9-XX.YY.ZZ.EL.i686.rpm kmod-appletalk-J.K-L.el4.sme.i686.rpm kmod-ppp-J.K.L-M.el4.sme.i686.rpm kmod-slip-J.K-L.el4.sme.i686.rpm
installing packages
fo be able to install your recently downloaded packages you must to update
/etc/rpm/platform
from
i586-redhat-linux
to
i686-redhat-linux
now double check if was updated
cat /etc/rpm/platform
if you see:
i686-redhat-linux
you can continue: as we´re going to update kernel, let´s just test it before go live: PLEASE USE ivh NOT Uvh or you´ll delete all other kernels (I´m sure about this because I did it!)
rpm -ivh --test --replacefiles --replacepkgs --ignorearch kernel* kmod*
if everything is fine, go ahead and install those new packages!
rpm -ivh --replacefiles --replacepkgs --ignorearch kernel* kmod*
If everything is fine till now, verify again with:
yum list kernel
as you is happy with results do a reboot and choose new kernel. After reboot, verify AGAIN with:
yum list kernel cat /etc/rpm/plataform
If anything do not works, please open a bug report.