On 2013-12-08 23:46, fperal wrote:
>
> I’ve a 12.2 32 bits system. I’m going to upgrade hardware: mobo, memory,
> processor, HD.
> I’m going to copy the working system to the new one, I’ve done this
> several times and it works fine: boot with system rescue, partition
> new hard disk, mount new partition and old partition, copy with cp -a
> the entire filesystem an then install grub.
> Or even better: copy with cp -a and then upgrade to 13.1
> The question is why not upgrade to x86_64?
> I’ know it’s not officially supported (at least on previous versions).
> I’ve been searching reports of success doing so, but I haven’t found
> any.
> I’t may work?
Yes. I have done it.
> Of course other option is a fresh install 64 bits and configuring all as
> new (users, services, etc. ).
But less fun
Yes, you can do it using the full install DVD, 64 bits, and choosing
upgrade. The partition 32 bit root partition will not be found, but you
can manually select it. It will give a warning, but you can go ahead.
First migrate the machine, and make sure it boots correctly. Then
attempt that upgrade.
Do not try a zypper dup to do it, use the dvd, system offline upgrade
method. The procedure does not upgrade everything, it can’t, because the
DVD can not contain it all. So you have to run a query to find out which
are the wrong arch packages.
Ok, after the upgrade attempt booting. This is the trickiest part,
because part of the system is 64 bits, parts are 32 bits.
Run this:
rpm -q -a --queryformat "%{INSTALLTIME};%{INSTALLTIME:day}; \
%{BUILDTIME:day}; %{NAME};%{VERSION}-%-7{RELEASE};%{arch}; \
%{VENDOR};%{PACKAGER};%{DISTRIBUTION};%{DISTTAG}
" \
| sort | cut --fields="2-" --delimiter=\; \
| tee rpmlist.csv | less -S
or this:
rpm -q -a --queryformat "%{INSTALLTIME} %{INSTALLTIME:day} \
%{BUILDTIME:day} %-30{NAME} %15{VERSION}-%-7{RELEASE} %{arch} \
%25{VENDOR}%25{PACKAGER} == %{DISTRIBUTION} %{DISTTAG}
" \
| sort | cut --fields="2-" | tee rpmlist | less -S
one of the columns, arch, tells you which architecture the package is
for. You have to upgrade all of them.
Maybe, running “zypper dup” will catch many of those: I have not tried
this particular operation on a mixed system, so I can’t vouch for it,
but if it works, saves a lot of clicking. Make sure you only have the
four official repos active.
Then run the above query again, find out if there are any 32 bit
packages, and if they exist, upgrade them using yast (version tab,
select the appropriate one).
Good luck and have fun
(if you want success reports, I can dig out some from the mail list)
Some docu:
Offline upgrade
method
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)