From owner-freebsd-questions@FreeBSD.ORG Mon Apr 19 13:19:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39B5F16A4CE for ; Mon, 19 Apr 2004 13:19:47 -0700 (PDT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0490143D54 for ; Mon, 19 Apr 2004 13:19:47 -0700 (PDT) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Mon, 19 Apr 2004 15:20:35 -0500 Message-ID: <40843429.60604@daleco.biz> Date: Mon, 19 Apr 2004 15:18:49 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040406 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan References: <00c101c42629$a580c1d0$ca89ded1@dannewxp> In-Reply-To: <00c101c42629$a580c1d0$ca89ded1@dannewxp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Apr 2004 20:20:35.0781 (UTC) FILETIME=[C5E61750:01C4264B] cc: freebsd-questions@freebsd.org Subject: Re: rc.conf.local error nn7j X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 20:19:47 -0000 Dan wrote: >I made an error in the rc.conf.conf file used ;# for rem statement. > Oops! You can recover, but it may be a tad tricky. > It hang on that statement at boot. > But then it at least gives a loader prompt, apparently? >Also can't find shell get error message to use /bin/sh hit return. > You're being put into "single user mode", and with a read-only / partition with no other partitions mounted, most likely. > I can't vi the rc.conf.local file vi is not there. > >Dan > > As a result of being forced into single user, some things have happened. As mentioned above, /var, /usr, and other filesystems are not yet mounted. You'll need to do this by hand. Your shell resource files are not read, therefore $PATH is not set. In order to use most commands, you'll need to specify the full path. Try this first: $/sbin/mount -a And then just "mount" to see if your file systems were mounted as if in normal operation. Sample, your system may be different, of course: $ mount /dev/ad0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s1e on /usr (ufs, local, soft-updates) /dev/ad0s1d on /var (ufs, local, soft-updates) If you can mount your file systems, then you should be able to call $/usr/bin/vi /etc/rc.conf and fix your problem. HTH, Kevin Kinsey