From owner-freebsd-questions@FreeBSD.ORG Mon Aug 4 23:17:01 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 3A2561065678 for ; Mon, 4 Aug 2008 23:17:01 +0000 (UTC) (envelope-from email@guice.ath.cx) Received: from guice.ath.cx (cpe-72-225-169-69.nyc.res.rr.com [72.225.169.69]) by mx1.freebsd.org (Postfix) with ESMTP id B84EA8FC14 for ; Mon, 4 Aug 2008 23:17:00 +0000 (UTC) (envelope-from email@guice.ath.cx) Received: from [192.168.1.3] (cpe-72-225-169-69.nyc.res.rr.com [72.225.169.69]) (authenticated bits=0) by guice.ath.cx (8.13.1/8.12.9) with ESMTP id m74Mbpwo045491; Mon, 4 Aug 2008 18:37:52 -0400 (EDT) (envelope-from email@guice.ath.cx) Message-ID: <489784A8.7030701@guice.ath.cx> Date: Mon, 04 Aug 2008 18:37:28 -0400 From: email User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Daniel Bye References: <48975FF8.6010207@guice.ath.cx> <20080804220801.GA6648@torus.slightlystrange.org> In-Reply-To: <20080804220801.GA6648@torus.slightlystrange.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2008 23:17:01 -0000 Daniel Bye wrote: > On Mon, Aug 04, 2008 at 04:00:56PM -0400, freebsd_user@guice.ath.cx wrote: > >> I do not code in any way. With that being said, should you be able to >> help please do so with the knowledge that I can not code. I'm following >> the freebsd handbook when the following occurs. >> >> -- separate fresh 'dangerously dedicated' installs of both 7.0 and >> 6.3-RELEASE on the same machine, yield the following: >> In multi-user mode make buildworld, buildkernel and installkernel. >> Shutdown now >> > > This will only drop you to single user mode with all filesystems still > mounted. It is not a good idea to run fsck on a mounted filesystem... > > Instead, you need to run > > # shutdown -r now > > to REBOOT the machine with the newly installed kernel. At the loader > menu, press `4' to boot into single user mode (at this point, only / > will be mounted, so your `fsck -p' should work just fine). > > Now procede with the next steps... > > > >> -- fsck -p >> /dev/ad4s1a: NO WRITE ACCESS >> /dev/ad4s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY >> >> This happens each and everytime no matter if I install from iso -or- ftp >> (passive). After numerous attempts the only way to get past this is >> 'fsck -y'. Could the fbsd handbook section I'm following need updating >> or is there another issue taking place here? >> > > I think you're getting confused by the instructions (don't have a browser > to hand so can't check the handbook, so apologies if this isn't the case). > IIRC, the handbook suggests you drop to single user BEFORE you begin, in > order to ensure nothing else is running while you run the build. In my > experience, this has not been necessary. Even still, after the installkernel > you MUST reboot the newly installed kernel before you continue. > > HTH > > Dan > > I thank you. In addition, I am quite sure the command we are referred to in "23.4.5 Drop to Single User Mode" is in fact 'shutdown now' and not 'shutdown -r now'. I thank you for your response as I am going to redo this procedure as you described. If you don't mind I'll follow-up with you and/or conclude this thread with the results.