building and installing world on two separate machines

Mitch mitch at mdickinson.org
Mon Sep 4 00:22:08 PDT 2006


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...


More information about the freebsd-questions mailing list