Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2001 23:30:22 +0000
From:      John Murphy <john253@crosswinds.net>
To:        Mike Meyer <mwm@mired.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: 4.2-stable
Message-ID:  <q1se6tglb1jre4fk3kgvs19rqme6eqd6vj@4ax.com>
In-Reply-To: <14949.59423.534928.667849@guru.mired.org>
References:  <110734453@toto.iv> <14949.59423.534928.667849@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Meyer wrote:

>Note that you need to build - and install - *two* things to update
>FreeBSD, not just one. The currently recommended method is:
>
>make buildworld			# Builds the world
>make buildkernel		# Builds the kernel(s)
>make installkernel		# Install the kernel you just built
>reboot to single-user mode	# To run the new kernel.
>make installworld		# Installs the world
>mergemaster			# Updates the config files in /etc.
>
<LINT info snipped>

>I do builds on a PII-Xeon machine for both it and an AMD K6-2, nfs
>mounting /usr/src and /usr/obj just like you're talking about to do
>the installs. To do this, the PII machine has: "KERNEL=3DXEON AMD" in
>/etc/make.conf. The K6 has "KERNREL=3DAMD" in /etc/make.conf. In
>/usr/src/sys/i386/conf, the XEON config file lists only "cpu
>I686_CPU", and the AMD config file lists only "cpu I586_CPU" for cpu
>types. The rest of the config file is what's appropriate for the two
>machines in question.
>
>I do the two builds on the PII, then switch to the AMD machine and do
>the installs, merge and reboot. After that's done, I go back to the
>PII and go through the same process with it.
>
>It works quite nicely, and saves me quite a bit of time. Not the days
>you're discussing, but certainly hours. If I ever buy a laptop, I'll
>almost certainly treat it the same way as I do the AMD box.
>

I'm trying something quite similar for the first time (only just started
using cvsup, nfs and buildworld etc.).  The nfs server is a Cyrix 486 cpu
called 'wall' and the nfs client is an AMD Duron 'lexx'.

Cvsup got me STABLE src-all last evening and I nfs mounted wall's /usr on
lexx as /wall.  Made buildworld in /wall/src in just 1:45min!

I'd like to track stable on both, but I'm a little confused about the =
next
steps.  The object files have been made in directories in =
/usr/obj/wall/src
on lexx.  Is this ok?  As the nfs server/client is only one way, I don't
quite see how I'll make installworld on wall.

Can I put both kernel config files in /sys/i386/conf/ and then set
/etc/make.conf appropriately to make each kernel and then just do
the make installkernel part on each one?

Will nfs work ok in single user? Else the make installworld won't
work on lexx.

If you don't hear from me again, you'll know I broke it :)

Thanks
John.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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