From owner-freebsd-questions Sat Jun 24 13:17: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from merlin.prod.itd.earthlink.net (merlin.prod.itd.earthlink.net [207.217.120.156]) by hub.freebsd.org (Postfix) with ESMTP id E051437B6FE for ; Sat, 24 Jun 2000 13:17:05 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from dialin-client.earthlink.net (pool0858.cvx20-bradley.dialup.earthlink.net [209.179.253.93]) by merlin.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id NAA14618; Sat, 24 Jun 2000 13:17:02 -0700 (PDT) Received: (from cjc@localhost) by dialin-client.earthlink.net (8.9.3/8.9.3) id NAA00437; Sat, 24 Jun 2000 13:15:36 -0700 (PDT) Date: Sat, 24 Jun 2000 13:15:35 -0700 From: "Crist J. Clark" To: Doug Barton Cc: Kent Stewart , John Daniels , freebsd-questions@FreeBSD.ORG Subject: Re: HELP! unbootable due to rc.conf Message-ID: <20000624131535.C256@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <20000613191506.78143.qmail@hotmail.com> <39468D51.58991339@3-cities.com> <3955136C.9A43A164@gorean.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3955136C.9A43A164@gorean.org>; from DougB@gorean.org on Sat, Jun 24, 2000 at 01:00:44PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Jun 24, 2000 at 01:00:44PM -0700, Doug Barton wrote: > For future reference, all questions belong on -questions. Cross posting > is frowned on. > > Kent Stewart wrote: > > > > John Daniels wrote: > > > > > > Hi: > > > > > > I forgot to add a quote mark in rc.conf. Now my system will not boot fully. > > > It takes me to a shell prompt from which I can move around the system > > > ("cd") and execute simple commands like "ls" but I can't bring up an editor > > > (I tried vi and ee) and when I tried to use mv to rename rc.conf (thinking > > > that the system would boot with only the settings in /etc/defaults/rc.conf), > > > the system responded that the drive was read-only. > > > > > > What can I do to get my system booting properly again? > > > > You have to mount /. The last time I did this was 3 or 4 weeks ago and > > a "mount -a" in single user mode worked. Then you correct your rc.conf > > error. I rebooted at this point. > > Make sure to type 'fsck -p' before you do the 'mount -a'. You should > never try to mount a file system if it's not clean. Also, if you are in > single user mode and want to go directly to multi-user mode, just type > 'exit'. Conversely, if you are in multi-user mode and want to drop into > single user mode without rebooting, all you need to do is type > 'shutdown'. One other note, there _is_ an editor on the root partition. The Almighty ed(1). ed, man. man ed. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message