changing architecture from i386 to amd64
Hi! I have machine working with i386 version of FreeBSD 7.0 Release (after several source updates from 6.0 during the years). Is it possible to re-build kernel and "world" with another architecture, in my case AMD64? I've tried to build kernel in /sys/amd64/conf, but on "make depend" everything fails. I see it includes paths with .../I386/.. even link machine in compile directory points to .../I386. I hope to be able to "switch" my architecture without re-installing FreeBSD with AMD64. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: changing architecture from i386 to amd64
On Friday 08 August 2008, Ivo Karabojkov wrote: > I hope to be able to "switch" my architecture without re-installing > FreeBSD with AMD64. I went through this last week. I use the 7.0 install disk to do an *upgrade* installation over the old one, booted into the new amd64 system, and upgraded kernel and world. Next, I manually reinstalled databases/db47, lang/ruby18, databases/ruby-bdb, and ports-mgmt/portupgrade. When that was done, I ran "portupgrade -fa" to recompile all the ports on my system. The only gotchas I had were that Berkeley databases aren't portable from 32-bit to 64-bit systems, and I used quite a few. A word to the wise: dump PostgreSQL to a text file before the upgrade. -- Kirk Strauser ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: changing architecture from i386 to amd64
On Fri, Aug 08, 2008 at 10:55:30PM +0300, Ivo Karabojkov wrote: > Hi! > > I have machine working with i386 version of FreeBSD 7.0 Release (after > several source updates from 6.0 during the years). Is it possible to > re-build kernel and "world" with another architecture, in my case > AMD64? Yes, but you'll need to have a seperate partition to install them to. Don't do this if you don't know what you're doing. > I hope to be able to "switch" my architecture without re-installing > FreeBSD with AMD64. You do realize that you have to recompile/reinstall your ports/packages to take advantage of the amd64 features? That is a _lot_ more work than reinstalling the base system! So reinstalling the base system should not worry you. Before you switch you should check that all ports that you need are available on amd64. If you look into the port makefile and see ONLY_FOR_ARCHS=i386, it won't work on amd64! Examples are the flash plugin for firefox and the binary nVidia driver for Xorg. The best advice I can give you is: - make backups of all your data (especially configuration files) - delete all ports - reinstall amd64 - rebuild the ports that you need. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpjYvCUWQXL5.pgp Description: PGP signature
changing architecture from i386 to amd64
Hi! I have machine working with i386 version of FreeBSD 7.0 Release (after several source updates from 6.0 during the years). Is it possible to re-build kernel and "world" with another architecture, in my case AMD64? I've tried to build kernel in /sys/amd64/conf, but on "make depend" everything fails. I see it includes paths with .../I386/.. even link machine in compile directory points to .../I386. I hope to be able to "switch" my architecture without re-installing FreeBSD with AMD64. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"