Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2023 09:59:26 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        paul beard <paulbeard@gmail.com>, FreeBSD-questions <freebsd-questions@freebsd.org>
Subject:   Re: switch from i386 to AMD64 without a total rebuild?
Message-ID:  <b71dc191-4e97-814a-839d-a2f787b63569@netfence.it>
In-Reply-To: <CAMtcK2o82mGRftTS%2BaKHq8U49ARFFz%2BfDrrfXk8ciMzB1PUqxw@mail.gmail.com>
References:  <CAMtcK2o82mGRftTS%2BaKHq8U49ARFFz%2BfDrrfXk8ciMzB1PUqxw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 9/17/23 04:38, paul beard wrote:
> Can I 
> somehow put AMD64 on the clone? Or do I have to start from scratch and 
> then add all the packages and configs, etc?

Hello.

I've done this in the past, some 10-15 years ago (no UEFI, no ZFS, no 
boot environments at the time).
So it's definitely possible, but unfortunately I don't remember exactly 
how I did it:
_ basically I installed kernel & world (same version, different arch, 
with the COMPAT_FREEVSD32 option on); I don't remember if I compiled the 
kernel on a different machine and moved it here or what; I don't even 
remember if I had to do this while booting from USB or DVD;
_ I compareed all /etc with the original amd64 one in order to check if 
some tweaking was needed;
_ up and running;
_ later I recompiled all ports (no Poudriere at the time, but 
portupgrade). BEWARE if you have kernel modules from ports.

I did this because it was a production machine which could not be taked 
down for long and the customer had no spare one to reinstall; if you can 
a total reinstall might be easier.

  bye
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b71dc191-4e97-814a-839d-a2f787b63569>