From owner-freebsd-questions Tue Feb 26 10: 3: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web13407.mail.yahoo.com (web13407.mail.yahoo.com [216.136.175.65]) by hub.freebsd.org (Postfix) with SMTP id B17EC37B435 for ; Tue, 26 Feb 2002 10:02:37 -0800 (PST) Message-ID: <20020226180237.61363.qmail@web13407.mail.yahoo.com> Received: from [216.54.32.226] by web13407.mail.yahoo.com via HTTP; Tue, 26 Feb 2002 10:02:37 PST Date: Tue, 26 Feb 2002 10:02:37 -0800 (PST) From: Daniel Lees Subject: Damaged rc.conf file To: freebsd-questions@FreeBSD.ORG Cc: danlees@earthlink.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I was editing my rc.conf file and screwed it up. I'm getting these errors: "Mounting root from ufs:/dev/ad0s2a" "/etc/rc.conf: 15: Syntax error: Unterminated quoted string" "Enter full pathname of shell or Return for /bin/sh:" When I enter "/bin/tcsh" to get to a shell with some decent commands I get these errors: "sh: Cannot open /etc/termcap" "sh: using dumb terminal settings" I cannot get to root and I cannot edit any files. When I try to "ed rc.conf" so I can fix the file I get the reply: "/tmp/ed.nxI103: Read-only file system" I'm currently running FreeBSD 4.3. I've considered fdisking, formatting, and installing 4.5. What should I do? Thanks in advance for any help. Daniel __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message