From owner-freebsd-questions@FreeBSD.ORG Tue Aug 5 04:30:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C976B106566B for ; Tue, 5 Aug 2008 04:30:00 +0000 (UTC) (envelope-from freebsd-questions@slightlystrange.org) Received: from mtaout01-winn.ispmail.ntl.com (mtaout01-winn.ispmail.ntl.com [81.103.221.47]) by mx1.freebsd.org (Postfix) with ESMTP id 50CAA8FC08 for ; Tue, 5 Aug 2008 04:30:00 +0000 (UTC) (envelope-from freebsd-questions@slightlystrange.org) Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20080805042955.QTSC777.mtaout01-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Tue, 5 Aug 2008 05:29:55 +0100 Received: from catflap.slightlystrange.org ([86.6.1.242]) by aamtaout02-winn.ispmail.ntl.com with ESMTP id <20080805042955.CQNR19289.aamtaout02-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Tue, 5 Aug 2008 05:29:55 +0100 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 108B56471; Tue, 5 Aug 2008 05:29:53 +0100 (BST) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by catflap.slightlystrange.org (Postfix) with ESMTPS id AD972613F for ; Tue, 5 Aug 2008 05:29:52 +0100 (BST) Received: (from danielby@localhost) by torus.slightlystrange.org (8.14.2/8.13.4/Submit) id m754ToOF020121 for freebsd-questions@freebsd.org; Tue, 5 Aug 2008 05:29:50 +0100 (BST) (envelope-from freebsd-questions@slightlystrange.org) Date: Tue, 5 Aug 2008 05:29:50 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20080805042950.GB6648@torus.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <48975FF8.6010207@guice.ath.cx> <20080804220801.GA6648@torus.slightlystrange.org> <489784A8.7030701@guice.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mojUlQ0s9EVzWg2t" Content-Disposition: inline In-Reply-To: <489784A8.7030701@guice.ath.cx> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 7.0-STABLE i386 Subject: Re: buildworld, buildkernel, installkernel, shutdow now, fsck -p -- NO WRITE ACCESS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2008 04:30:00 -0000 --mojUlQ0s9EVzWg2t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 04, 2008 at 06:37:28PM -0400, email wrote: > I thank you. In addition, I am quite sure the command we are referred=20 > to in "23.4.5 Drop to Single User Mode" is in fact 'shutdown now' and=20 > not 'shutdown -r now'. =20 Yes. But that section relates to dropping to single user mode for the duration of the build, not for the installworld phase. To quote from=20 23.4.5: You may want to *compile* the system in single user mode. (Emphasis mine) It is merely a possible preparatory step that some people like to take before embarking on the rest of the process. Section 23.4.9 goes on to talk about what to do after the world and=20 kernel build are complete, and you have installed the new kernel: You should reboot into single user mode to test the new kernel works. Do this by following the instructions in Section 23.4.5. This refers specifically to the part of 23.4.5 that talks about=20 rebooting into single user mode, and not the part that talks about dropping to single user mode. (A subtle, but important, distinction.) I would suggest that the simplest approach would be something like: # cd /usr/src # make buildworld && make buildkernel # make installkernel (reboot into single user mode) # fsck -p # mount -u / # mount -at ufs # swapon -a # cd /usr/src # make installworld # mergemaster (Just so we're clear - section 23.4.5 talks about going to single user mode for the duration of the *first 3 steps* of the above process. As I mentioned previously, I have never found this step necessary, but there is certainly no harm in it, and it may be the sensible thing to do if your system has a lot of users logged in during normal operations. Note that you must still reboot after installing the new kernel, and before continuing to installworld.) Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --mojUlQ0s9EVzWg2t Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkiX1z4ACgkQixf5fBYiFmo+8gCgmtk9R4ezNEZileiK95C9crLG 200An1J4SIkOh+0gqVYz21hJ0C8N7G8S =eCjl -----END PGP SIGNATURE----- --mojUlQ0s9EVzWg2t--