Andrew Hamilton-Wright wrote:
I am about to install a new motherboard to recover a hardware
failure on an OpenBSD machine. The old MB had an Intel based
CPU, however the replacement will support AMD64.
The old install was 4.0; obviously I wish to move to 4.1 at
this time as well.
I therefore want to migrate as much of the old setup as possible
to the new kernel, and I am looking for advice on pitfalls in
the two following strategies (and therefore which one seems the
most direct):
1) install the amd64 system onto the root disk as a new "install",
(ie; from CD), moving over important config from a preserved copy
of the current /etc and /var after the first boot.
2) move to amd64 by performing an "upgrade" _on top of_ the existing
i386 system, performing the usual upgrade path "final steps"
to get things going.
3) "upgrade" 4.0 i386 -> 4.1 i368, and then "upgrade"
4.1 i386 -> 4.1 amd64
There are existing binaries on this system I would like to keep
running (in 32-bit mode) if possible, but I want to avoid having
a pot-pourri of libs of various ages and compatibilities. Can
someone provide insight into whether the amd64 upgrade will
provide 32-bit comptible copies of all libs in the 4.0 installation?
andrew,
i went from 4.0 i386 -> amd64 without much trouble by doing a fresh
reinstall and re-adding packages and config files. it went pretty
smoothly and took me ~2 hours to install and configure. i would
recommend doing a fresh 4.1 amd64 install after you've copied your i386
files to another non-standard partition or machine and then moving them
back as necessary after adding packages and/or installing ports.
if you have lots of "hand-compiled" stuff this may not be the best route
but i suspect the 32-bit binaries won't run right on the amd64 (could be
totally wrong here).
cheers,
jake
Any advice appreciated . . .
Andrew.