building and installing world on two separate machines

2006-09-04 Thread Dave

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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: building and installing world on two separate machines

2006-09-04 Thread Mitch
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...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: building and installing world on two separate machines

2006-09-04 Thread Dan Nelson
In the last episode (Sep 04), Dave said:
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?

There's nothing stopping you from doing an NFS mount in single-user
mode.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: building and installing world on two separate machines

2006-09-04 Thread Jonathan McKeown
On Monday 04 September 2006 08:25, 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?

I do this across all my servers, by nfs-mounting /usr/src and /usr/obj from 
the build server on the target server before dropping it to single-user mode: 
the filesystems stay mounted and I just

cd /usr/src
make installworld

Jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]