cross building and installing from i386 to amd64

Dmitry Morozovsky marck at
Thu Nov 8 10:30:18 PST 2007

On Thu, 8 Nov 2007, Aryeh Friedman wrote:

AF> As noted in the message on "more field reports..." I managed to boot
AF> from acd0 in 7b2 i386 (finally got that cd burned by begging a friend
AF> thus was able to install vista that requires it be the first partition
AF> on the first boot device [not pata?!?!] thus had to uninstall
AF> 8-current amd64)... so I reinstalled 7b2 and now want to
AF> crossbuild/install 8-current amd64 over it... how?    I use the corss
AF> build procedure in build(7) and set DESTDIR=/ and it works find until
AF> about 2/3's of the way through installworld (after installing the new
AF> kernel but not rebooting).... on reboot init crashs.

Until recent this in-place upgrades were not supported.

I usually did the following:

- cross-buildworld/buildkernel
- swapoff
- newfs <your-swap-partition>
mount <swap> /mnt
- make installworld distribution installkernel DESTDIR=/mnt
- reboot, stop boot2 and enter something like 0:ad(0,b) at boot2 prompt
- mount regular filesystems under /mnt
- mount -t nullfs /usr/src and /usr/obj
- cd /usr/src
- make installkernel installworld DESTDIR=/mnt 


[this is from memory, I may miss something]


D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at ]
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at ***

More information about the freebsd-current mailing list