Date: Wed, 24 Aug 2016 22:26:19 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: Robert Huff <roberthuff@rcn.com> Cc: freebsd-questions@freebsd.org Subject: Re: converting 10.3-i386 to 10.3-amd64 Message-ID: <alpine.BSF.2.20.1608242221220.51949@wonkity.com> In-Reply-To: <57BE6D46.4080408@rcn.com> References: <57BE6D46.4080408@rcn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Aug 2016, Robert Huff wrote: > I have a machine, whose cpu is an AMD Phenom II, on which I > recently installed 10.3. Spectifically: > > FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25 03:51:29 UTC 2016 > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 > > (Question: I thought the installation process was supposed to > detect the architecture and automatically install the correct > kernel+world. Am I mistaken?) Yes, that's a mistake. It's why we have separate i386 and amd64 install disks. > I want to convert this to: > > FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25 03:51:29 UTC 2016 > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > > in the short term to access all 8 gb of memory, and in the long > term to jump to -head. > I have not changed /usr/src. > There are no "make.conf" or "src.conf". > Running "make buildworld" produces this: > > cd /usr/src; PATH=/sbin:/bin:/usr/sbin:/usr/bin make -m > /usr/src/share/mk -f Makefile.inc1 TARGET=i386 TARGET_ARCH=i386 buildworld Right, a buildworld is going to build for the same architecture that is installed. If you have not done much customization yet, the easiest and most reliable way to go to amd64 is to just back up data, download and install the amd64 version, and restore. It's possible there is now a simple way to convert, but there wasn't the last time I did this, and I ended up copying amd64 binaries from another system to get the i386 one functional enough to build an amd64 kernel and world.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1608242221220.51949>