From owner-freebsd-newbies Sat Jun 24 13: 1: 6 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id 2695D37BBAC; Sat, 24 Jun 2000 13:00:52 -0700 (PDT) (envelope-from DougB@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id NAA28950; Sat, 24 Jun 2000 13:00:45 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <3955136C.9A43A164@gorean.org> Date: Sat, 24 Jun 2000 13:00:44 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0603 i386) X-Accept-Language: en MIME-Version: 1.0 To: Kent Stewart Cc: John Daniels , freebsd-questions@freebsd.org, freebsd-newbies@freebsd.org Subject: Re: HELP! unbootable due to rc.conf References: <20000613191506.78143.qmail@hotmail.com> <39468D51.58991339@3-cities.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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'. HTH, Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message