From owner-freebsd-questions@FreeBSD.ORG Fri Apr 9 14:06:58 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 BAAF316A4CE for ; Fri, 9 Apr 2004 14:06:58 -0700 (PDT) Received: from ns1.tcbug.org (12-218-40-24.client.mchsi.com [12.218.40.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9763F43D1D for ; Fri, 9 Apr 2004 14:06:58 -0700 (PDT) (envelope-from friar_josh@ns1.tcbug.org) Received: by ns1.tcbug.org (Postfix, from userid 1003) id CADEABA3A; Fri, 9 Apr 2004 16:06:16 -0500 (CDT) Date: Fri, 9 Apr 2004 16:06:15 -0500 From: Josh Paetzel To: lrnobs Message-ID: <20040409210615.GH13446@ns1.tcbug.org> References: <4076527F.1060902@users.sourceforge.net> <003b01c41e75$03ffa8f0$0a05010a@NCSXP> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003b01c41e75$03ffa8f0$0a05010a@NCSXP> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: Syntax error in rc.conf - cannot fix 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: Fri, 09 Apr 2004 21:06:58 -0000 On Fri, Apr 09, 2004 at 03:55:39PM -0500, lrnobs wrote: > I am setting up a new server so I could just reinstall, but this is a > learning opportunity. > > I was changing the hostname of the computer. In rc.conf I apparently left > the leading " off the name. > > BSD doesn't like this. It stops the boot and allows/forces me to a shell. So > I found that "cat" shows me the error of my ways. vi apparently doesn't > exist or is stored somewhere that I cannot find because "find" does not work > either. > > I did find "ed" and thought I would be learning how to use it, but alas > trying to launch it tells me that I have a readonly file system. > > So, is there any way for me to fix my typo, or is reinstall my only option. > > Thanks, > > Larry Nobs > mount -rw / && mount -rw /usr and edit rc.conf as needed with vi Josh Paetzel