On 2007/05/24 11:51, Toni Mueller wrote: > Hi, > > On Wed, 02.05.2007 at 16:47:50 +0100, Stuart Henderson <[EMAIL PROTECTED]> > wrote: > > Moving a running system from i386 -> amd64 is _possible_ but there are > > potential problems in doing so; a clean install is always preferable. > > this makes me curious. How do you do it? How would you go about doing > the opposite?
If you need to ask, you're unlikely to be ready to do this, especially on a remote system. I moved from i386->amd64 remotely, because an important router was crashing regularly on i386 before the pmap changes were reverted. I had serial console, power control, and could set things up to pxe-boot and do a clean install if I needed, and wouldn't have attempted without. I checked that the amd64 kernel booted ok on identical hardware and _did the whole thing locally first_ to check it worked. I didn't remove packages because I didn't have any installed, it was just base and /etc changes. Installed a new amd64 boot loader and bsd.rd, booted onto amd64 bsd.rd and did an upgrade install. You could probably use a custom yaifo or flashboot kernel if you need to do this without console access, but that's even more a case of "here's the bullet, there's your foot" than what I did... > > You want to stay with OpenBSD/i386 then. You cannot run i386 binaries > > on OpenBSD/amd64. > > How hard would it be to achieve that? I don't know. I don't really see much need for it myself since you can usually just run OpenBSD/i386 instead (at a push, maybe on qemu).

