From owner-freebsd-questions@freebsd.org Tue Feb 23 16:46:49 2016 Return-Path: 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 CDDB9AB1FEB for ; Tue, 23 Feb 2016 16:46:49 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B22E3A5E for ; Tue, 23 Feb 2016 16:46:49 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: by mailman.ysv.freebsd.org (Postfix) id AFF31AB1FEA; Tue, 23 Feb 2016 16:46:49 +0000 (UTC) Delivered-To: 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 AF8EDAB1FE8 for ; Tue, 23 Feb 2016 16:46:49 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B11DA5D for ; Tue, 23 Feb 2016 16:46:48 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id u1NGkbxA013629 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 23 Feb 2016 17:46:37 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id u1NGkbMD013626; Tue, 23 Feb 2016 17:46:37 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 23 Feb 2016 17:46:37 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Luciano Mannucci cc: questions@FreeBSD.org Subject: Re: Changing architecture In-Reply-To: <3q8cLq5D8hzRRqS@baobab.bilink.it> Message-ID: References: <3q8cLq5D8hzRRqS@baobab.bilink.it> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, AWL autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 16:46:50 -0000 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: 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 ; 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 ; 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 ; 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 ; 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 ; 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 ; Tue, 23 Feb 2016 18:51:56 +0100 (CET) Date: Tue, 23 Feb 2016 18:51:55 +0100 From: Luciano Mannucci To: freebsd-questions@freebsd.org Subject: Re: Changing architecture In-Reply-To: References: <3q8cLq5D8hzRRqS@baobab.bilink.it> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 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/