Is there a script to upgrade i386 system to amd64 ?

Yuri yuri at rawbw.com
Mon Jul 19 04:05:13 UTC 2010


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


More information about the freebsd-questions mailing list