Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2006 03:22:04 -0400
From:      Mitch <mitch@mdickinson.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: building and installing world on two separate machines
Message-ID:  <20060904072203.GB58416@hydrogen.mdickinson.org>
In-Reply-To: <000301c6cfea$f6e55780$0200a8c0@satellite>
References:  <000301c6cfea$f6e55780$0200a8c0@satellite>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/04/06 02:25 AM, Dave wrote:
> Hello,
>    I have a machine that i want to upgrade from 5.x to 6.1. I've got a 6.1 
> world built on a much faster system and would like to just install it on 
> this machine. I thought about nfs, but i have to drop to single user mode 
> to do the make installworld and won't have nfs available. Is there a way i 
> can install this already compiled world on the slower box without having to 
> remake it?
> Thanks.
> Dave.

NOTE: I've never tried anything like this.  Hopefully someone else can
chime in here.

I think I would try this:

- make buildworld; make buildkernel on the fast box
- copy over /usr/src and /usr/obj
- make installkernel on the target machine (assuming buildkernel and
  installkernel targets still exist..)
- copy out /usr/src/usr.sbin/mergemaster/mergemaster.sh to
  /usr/sbin/mergemaster (might not be needed)
- reboot to single user and do the normal mergemaster -p; make
  installworld; mergemaster
- reboot and hope for the best.

Sounds good enough to me...



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