Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 2016 17:46:37 +0100 (CET)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        Luciano Mannucci <luciano@vespaperitivo.it>
Cc:        questions@FreeBSD.org
Subject:   Re: Changing architecture
Message-ID:  <alpine.BSF.2.20.1602231740030.80551@mail.fig.ol.no>
In-Reply-To: <3q8cLq5D8hzRRqS@baobab.bilink.it>
References:  <3q8cLq5D8hzRRqS@baobab.bilink.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 23 Feb 2016 11:39+0100, Luciano Mannucci wrote:

> 
> Hello all!
> 
> I have an i386 small server that I whish to upgrade to amd64 (upgrading
> the hardware too:) without destroying user files and configurations.
> Is that possible? It might be interesting on some virtual machines too...
> Maybe doing a rebuild of everything in /usr/src changing the architecture
> is enough?

If you're really brave, you could carefully extract an amd64 system on 
top of your i386 system. You need to exclude a few directories for 
each of kernel.txz and base.txz, such as /boot, /etc, /root, and /var. 
Add lib32.txz to the mix. Having ports-mgmt/portmaster around helps 
rebuilding all your ports with ease.

I did such a stunt a year ago, just to prove it's possible.

As always, have good backups, in plural, just in case something goes 
wrong. It's devastating losing 1 TiB of precious data.

http://ximalas.info/2015/01/17/migrating-freebsd-from-i386-to-amd64/

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
From owner-freebsd-questions@freebsd.org  Tue Feb 23 17:52:03 2016
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D3A4AB17B6
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Tue, 23 Feb 2016 17:52:03 +0000 (UTC)
 (envelope-from luciano@vespaperitivo.it)
Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44])
 by mx1.freebsd.org (Postfix) with ESMTP id 6218F7E6
 for <freebsd-questions@freebsd.org>; Tue, 23 Feb 2016 17:52:03 +0000 (UTC)
 (envelope-from luciano@vespaperitivo.it)
Received: from localhost (localhost [127.0.0.1])
 by baobab.bilink.it (Postfix) with ESMTP id 3q8ny71gNLzRRqT
 for <freebsd-questions@freebsd.org>; Tue, 23 Feb 2016 18:51:59 +0100 (CET)
X-Virus-Scanned: amavisd-new at mcs.it
Received: from baobab.bilink.net ([127.0.0.1])
 by localhost (baobab.mcs.it [127.0.0.1]) (amavisd-new, port 11027)
 with ESMTP id 2B8HkAxnoPT1 for <freebsd-questions@freebsd.org>;
 Tue, 23 Feb 2016 18:51:59 +0100 (CET)
Received: from hermes.mcs.it (hermes.mcs.it [192.168.132.21])
 by baobab.bilink.it (Postfix) with ESMTP id 3q8ny70z6qzRRqS
 for <freebsd-questions@freebsd.org>; Tue, 23 Feb 2016 18:51:59 +0100 (CET)
Received: from mordeus (unknown [192.168.45.6])
 by hermes.mcs.it (Postfix) with ESMTP id 2C8FA1B7483
 for <freebsd-questions@freebsd.org>; Tue, 23 Feb 2016 18:51:56 +0100 (CET)
Date: Tue, 23 Feb 2016 18:51:55 +0100
From: Luciano Mannucci <luciano@vespaperitivo.it>
To: freebsd-questions@freebsd.org
Subject: Re: Changing architecture
In-Reply-To: <alpine.BSF.2.20.1602231740030.80551@mail.fig.ol.no>
References: <3q8cLq5D8hzRRqS@baobab.bilink.it>
 <alpine.BSF.2.20.1602231740030.80551@mail.fig.ol.no>
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.1)
X-Face: 4qPv4GNcD;
 h<7Q/sK>+GqF4=CR@KmnPkSmwd+#%\F`4yjKO3"C]p'z=(oWRnsYBQGM\5g:4skqQY0NnV'dM:Mm:^/_+I@a";
 [-s=ogufdF"9ggQ'=y
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Message-Id: <3q8ny70z6qzRRqS@baobab.bilink.it>
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Feb 2016 17:52:03 -0000

On Tue, 23 Feb 2016 17:46:37 +0100 (CET)
Trond Endrest=F8l <Trond.Endrestol@fagskolen.gjovik.no> wrote:

> http://ximalas.info/2015/01/17/migrating-freebsd-from-i386-to-amd64/
Wow!
This one too sounds promizing!
On my machine all packages are installed via pkg, so I think removing
them and reinstall after the migration should be ok.
I'm running 10.1-RELEASE-p29, BTW.

Thanks,

Luciano.
--=20
 /"\                         /Via A. Salaino, 7 - 20144 Milano (Italy)
 \ /  ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
  X   AGAINST HTML MAIL    /  E-MAIL: posthamster@sublink.sublink.ORG
 / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1602231740030.80551>