Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2007 10:43:01 -0400 (EDT)
From:      Mike Andrews <mandrews@bit0.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Kostik Belousov <kostikbel@gmail.com>, freebsd-stable@freebsd.org, Ivan Voras <ivoras@fer.hr>, freebsd-ports@freebsd.org
Subject:   Re: Upgrading to amd64 requires recompilation of ports?
Message-ID:  <20070617104023.V50590@bit0.com>
In-Reply-To: <20070616222413.GA29804@rot13.obsecurity.org>
References:  <6f50eac40706151829g64b8a8abg798f97449c05888f@mail.gmail.com> <f4veun$kq4$2@sea.gmane.org> <20070616030328.GA17075@rot13.obsecurity.org> <f50dkg$m71$1@sea.gmane.org> <20070616201921.GA29173@rot13.obsecurity.org> <20070616205234.GN2268@deviant.kiev.zoral.com.ua> <20070616222413.GA29804@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 16 Jun 2007, Kris Kennaway wrote:

>>> I may have had to use the statically linked /rescue to do some things,
>>> I don't remember.  It's not completely trivial, but someone who knows
>>> their way around a FreeBSD system can do it.
>> We did it by using miniroot on swap partition of the system disk.
>> This approach has an advantage of keeping at least one good bootable
>> base system installation in any moment. Also, it allows move in both
>> directions, i.e. i386 <-> amd64.
>
> Yeah, that's a neat trick to remember.  Another trick for doing
> i386->amd64 is to install your new world into a DESTDIR, tar it up,
> put the tarball onto the root filesystem, boot the new amd64 kernel
> into single-user mode and use /rescue/tar to spam the amd64 tarball
> over the i386 world.

I've used the miniroot-on-swap approach before.  Another trick I used this 
week (when I had to do four i386->amd64 migrations) was to build a 
netbootable amd64 system, PXE-boot that, and then installworld to the 
local disks that way.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070617104023.V50590>