From owner-freebsd-questions@FreeBSD.ORG Mon Jul 19 04:05:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E58A1065674 for ; Mon, 19 Jul 2010 04:05:13 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id EF0018FC19 for ; Mon, 19 Jul 2010 04:05:12 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o6J459d7002724; Sun, 18 Jul 2010 21:05:10 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4C43CEF5.9070100@rawbw.com> Date: Sun, 18 Jul 2010 21:05:09 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100708 Thunderbird/3.0.5 MIME-Version: 1.0 To: Dan Nelson References: <4C43AE4D.80501@rawbw.com> <20100719024331.GK5485@dan.emsphone.com> In-Reply-To: <20100719024331.GK5485@dan.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Is there a script to upgrade i386 system to amd64 ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2010 04:05:13 -0000 On 07/18/2010 19:43, Dan Nelson wrote: > When I did it, I believe I just made copies of /usr/lib and /usr/local/lib > to ../lib32 (so 32-bit ports would still work), installed the 64-bit kernel > and world, rebooted, then upgraded all the ports over a week or so. I was > running zfs so I made a snapshot of the 32-bit system as it was just before > the install. A 64-bit buildworld and GENERIC kernel both default to > enabling 32-bit support and compat libraries, and I believe a 64-bit kernel > will boot and run a 32-bit world, so compatibility is good. > > Just be aware that binary file formats for programs installed via ports may > differ, so things like rrdtool datafiles and mysql databases will need to be > dumped to text form and reloaded. That's where the 32-bit snapshot came in > handy (so I had access to the 32-bit binaries after my port upgrades > finished and could dump using old binaries then reload using the new ones as > I discovered problems). > Thanks, this sounds very encouraging and I will try it. Another question is: are there any parts that won't work in amd64, besides file format issue that you just mentioned. Like NVidia driver? MPlayer plugins (taken from Windows binaries)? Linux flush in browsers, it's originally only 32-bit in Linux and works through the series of hacks in nspluginwrapper? Yuri