Re: cross building and installing from i386 to amd64

From: Dmitry Morozovsky <marck_at_rinet.ru>
Date: Thu, 8 Nov 2007 21:19:38 +0300 (MSK)
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_at_FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck_at_rinet.ru ***
------------------------------------------------------------------------
Received on Thu Nov 08 2007 - 17:30:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:21 UTC