Date: Thu, 8 Nov 2007 21:19:38 +0300 (MSK) From: Dmitry Morozovsky <marck@rinet.ru> To: Aryeh Friedman <aryeh.friedman@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: cross building and installing from i386 to amd64 Message-ID: <20071108211624.U4581@woozle.rinet.ru> In-Reply-To: <bef9a7920711080603qfdf3f83nd8b2c70a629d2d30@mail.gmail.com> References: <bef9a7920711080603qfdf3f83nd8b2c70a629d2d30@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 again [this is from memory, I may miss something] HTH Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071108211624.U4581>