From nobody Mon Sep 18 07:59:26 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rpxyv35zwz4sklP for ; Mon, 18 Sep 2023 07:59:35 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rpxyt36HVz3Htn for ; Mon, 18 Sep 2023 07:59:34 +0000 (UTC) (envelope-from ml@netfence.it) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it; dmarc=pass (policy=none) header.from=netfence.it Received: from [192.168.113.67] (martin.centrocontabilebiesse.it [151.69.5.121]) (authenticated bits=0) by soth.netfence.it (8.17.2/8.17.1) with ESMTPSA id 38I7xLRX029433 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 18 Sep 2023 09:59:23 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host martin.centrocontabilebiesse.it [151.69.5.121] claimed to be [192.168.113.67] Message-ID: Date: Mon, 18 Sep 2023 09:59:26 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: switch from i386 to AMD64 without a total rebuild? Content-Language: en-US To: paul beard , FreeBSD-questions References: From: Andrea Venturoli In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.86 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.80 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; HAS_XAW(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4Rpxyt36HVz3Htn 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.