From owner-freebsd-stable@FreeBSD.ORG Thu Apr 5 20:47:31 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A9C3216A401 for ; Thu, 5 Apr 2007 20:47:31 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron2.sfsu.edu (iron2.sfsu.edu [130.212.10.36]) by mx1.freebsd.org (Postfix) with ESMTP id 8F00F13C455 for ; Thu, 5 Apr 2007 20:47:31 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from diana.sfsu.edu ([130.212.10.239]) by iron2.sfsu.edu with ESMTP; 05 Apr 2007 13:47:32 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAKH9FEaC1Arv/2dsb2JhbAA Received: from horde.sfsu.edu (horde.sfsu.edu [130.212.10.203]) by diana.sfsu.edu (8.13.4/8.13.4) with ESMTP id l35KlU8u610580; Thu, 5 Apr 2007 13:47:30 -0700 Received: (from apache@localhost) by horde.sfsu.edu (8.12.8/8.12.8/Submit) id l35KlUsM016367; Thu, 5 Apr 2007 13:47:30 -0700 Received: from 63.164.145.161 ([63.164.145.161]) by webmail.sfsu.edu (IMP) with HTTP for ; Thu, 5 Apr 2007 13:47:30 -0700 Message-ID: <1175806050.461560624285a@webmail.sfsu.edu> Date: Thu, 5 Apr 2007 13:47:30 -0700 From: kayve@sfsu.edu To: Tom Evans References: <20070403020736.8549C241BF@freebsd-stable.sentex.ca> <20070404125452.M18358@fledge.watson.org> <14989d6e0704041034t1e197592jbd7d609ddd1d0765@mail.gmail.com> <1175734991.46144acfabc7a@webmail.sfsu.edu> <1175736045.46144eed676c2@webmail.sfsu.edu> <1175763113.1318.18.camel@zoot.mintel.co.uk> In-Reply-To: <1175763113.1318.18.camel@zoot.mintel.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: SFSU Webmail 3.2.1 X-Originating-IP: 63.164.145.161 Cc: stable@freebsd.org Subject: Re: single user mode buildwerld failures 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: Thu, 05 Apr 2007 20:47:31 -0000 i can't log on, but i can run in single user mode. does that qualify as a "running system" should i start over from step 1 and do it all in single user mode? maybe i better not try until hearing from somebody. > If you have a running system, read Appendix A.5 "Using CVSup" [1] of the > handbook, which details how to update your sources and ports to the > current version. > > If you don't have a running system, rebuild world + kernel and hope that > restores enough functionality so you can update the sources and go > again. This is all described in section 22.4 "Rebuilding world" [2] of > the handbook, but I will summarise it for you. > > // change to root > $ su - > // remove /usr/obj to speed up the build > # cd /usr/obj && chflags -R noschg * && rm -rf * > // Build a new world > # cd /usr/src > # make -j4 buildworld > // build a new kernel (do not put any job options for this build) > # make buildkernel > // install the new kernel > # make installkernel > // reboot to single user mode (boot -s from the loader prompt) > # shutdown -r now > > // After reboot > // check + mount all filesystems > # fsck -p > # mount -u / > # mount -a -t ufs > # swapon -a > // prepare /etc for the world install > # mergemaster -p > // install the new world > # cd /usr/src ; make installworld > // run mergemaster again > # mergemaster > // reboot to an updated system > # shutdown -r now > > All these instructions are in the handbook. > > Cheers > > Tom > > [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html > [2] > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html >