Date: Fri, 9 Apr 2004 16:06:15 -0500 From: Josh Paetzel <friar_josh@tcbug.org> To: lrnobs <lrnobs@firstclasssolutions.net> Cc: freebsd-questions@freebsd.org Subject: Re: Syntax error in rc.conf - cannot fix Message-ID: <20040409210615.GH13446@ns1.tcbug.org> In-Reply-To: <003b01c41e75$03ffa8f0$0a05010a@NCSXP> References: <4076527F.1060902@users.sourceforge.net> <Pine.LNX.4.58.0404092042560.28354@Tempo.Update.UU.SE> <003b01c41e75$03ffa8f0$0a05010a@NCSXP>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040409210615.GH13446>