From owner-freebsd-stable@FreeBSD.ORG Fri Sep 16 00:37:22 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B27C16A41F for ; Fri, 16 Sep 2005 00:37:22 +0000 (GMT) (envelope-from Lee@dilkie.com) Received: from spock.dilkie.com (spock.dilkie.com [206.51.1.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE66943D45 for ; Fri, 16 Sep 2005 00:37:21 +0000 (GMT) (envelope-from Lee@dilkie.com) Received: from [206.51.1.193] (borg.dilkie.com [206.51.1.193]) (authenticated bits=0) by spock.dilkie.com (8.13.3/8.13.3) with ESMTP id j8G0alXi003533 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 Sep 2005 20:36:48 -0400 (EDT) (envelope-from Lee@dilkie.com) Message-ID: <432A1378.2020601@dilkie.com> Date: Thu, 15 Sep 2005 20:36:08 -0400 From: Lee Dilkie User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jcr References: <07276B16-05B6-4765-B9AA-E8BBB2B634F2@uhort.no> <4329FBF1.6030003@canuck.co.uk> In-Reply-To: <4329FBF1.6030003@canuck.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.52 on 206.51.1.40 Cc: freebsd-stable@freebsd.org Subject: Re: Rebuilding "world" without physical access X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 00:37:22 -0000 jcr wrote: > Øystein Holmen wrote: > > > I do under normal multiuser root: > > # cd /usr/obj > # rm -rf * > # cd /usr/src > # /make clean > # make buildworld && make buildkernel KERNCONF=FOO && make > installkernel KERNCONF=FOO && make installworld && mergemaster > > then reboot > > prolly not the correct way, but works for me, (never tried across > major version changes) I do a cd /usr/src/usr.sbin/mergemaster ./mergemaster.sh -pcd /usr/src as a first step. It was recommended back in the 4.X days. actually, my scripts come in two parts. part 1. cd /usr/src/usr.sbin/mergemaster ./mergemaster.sh -pcd /usr/src cd /usr/obj chflags -R noschg * rm -rf * cd /usr/src make buildworld && make buildkernel && make installkernel at this point you need to reboot. when the system comes back (multiuser) part 2: cd /usr/src make installworld && mergemaster then I reboot again. -lee