Date: Sat, 2 Dec 2006 12:31:12 -0500 From: Mike Meyer <mwm@mired.org> To: Ruslan Ermilov <ru@freebsd.org> Cc: freebsd-amd64@freebsd.org Subject: Re: Cross compile world on i386 to x86_64 Message-ID: <17777.47200.238259.933313@bhuda.mired.org> In-Reply-To: <20061202171318.GA32377@rambler-co.ru> References: <20061202120938.GC31623@dinsnail.net> <84dead720612020527k644f67d1h36c715a2cbfd4c53@mail.gmail.com> <20061202170124.GD31897@rambler-co.ru> <17777.45950.536177.528750@bhuda.mired.org> <20061202171318.GA32377@rambler-co.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
In <20061202171318.GA32377@rambler-co.ru>, Ruslan Ermilov <ru@freebsd.org> typed: > On Sat, Dec 02, 2006 at 12:10:22PM -0500, Mike Meyer wrote: > > In <20061202170124.GD31897@rambler-co.ru>, Ruslan Ermilov <ru@freebsd.org> typed: > > > On Sat, Dec 02, 2006 at 06:57:32PM +0530, Joseph Koshy wrote: > > > > >Can I avoid reinstalling the system with amd64 binaries by > > > > >cross-compiling world and kernel for amd64 on the installed > > > > >i386 FreeBSD-CURRENT? > > > > > > > > Yes, it is possible, do check the archives for the details. > > > > > > > We've been doing this "upgrade" last week; > > > compared to the last time I checked it, the > > > 32-bit compatibility only improved, so the > > > whole process was much simpler, and basically > > > was like this: > > > > I went through it a month or so ago. I'll add one bit of advice: > > > > Drop in a spare disk and dual boot during the transition. My system > > disk was mirrored, and I turned that off and set up one of the two as > > amd64 during the transition, then turned the mirror back on when it > > was done. > > > > That also makes the cross-compile installation process easier, as you > > can mount the second disk on your i386 system and just just install to > > it. > > > That's not sexy; with two disks you can install amd64 bits > on a spare disk under i386 without problems, boot from the > new disk, and so on, but this would not be called the > "in-place upgrade from i386 to amd64" then. ;) Yup, not sexy at all. There's almost no danger of leaving your system unbootable, and being able to trivially back it out if you decide to for some reason (like a critical application not working on amd64) is like wearing suspenders and a belt. I admit, I probably wouldn't have done that if I didn't have a mirrored system disk, but since I could do it without actually touching the hardware... <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17777.47200.238259.933313>