Date: Tue, 26 Feb 2002 13:25:03 -0500 From: Sandro Mancuso <sandro.m@videotron.ca> To: freebsd-questions@FreeBSD.ORG Subject: Re: Damaged rc.conf file Message-ID: <000901c1bef2$e86cebe0$6400a8c0@windows>
next in thread | raw e-mail | index | archive | help
Mount -a That will get your filesystem mounted real quick, then from there go edit that rc.conf and reboot. That'll get you out of single user I have many fond memories of when I was in complete panic over that... I used to reformat the first few times, LOL > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-=20 > questions@FreeBSD.ORG] On Behalf Of Daniel Lees > Sent: February 26, 2002 1:03 PM > To: freebsd-questions@FreeBSD.ORG > Cc: danlees@earthlink.net > Subject: Damaged rc.conf file >=20 > I was editing my rc.conf file and screwed it up. I'm > getting these errors: >=20 > "Mounting root from ufs:/dev/ad0s2a" > "/etc/rc.conf: 15: Syntax error: Unterminated > quoted string" >=20 > "Enter full pathname of shell or Return for /bin/sh:" >=20 > When I enter "/bin/tcsh" to get to a shell with some > decent commands I get these errors: >=20 > "sh: Cannot open /etc/termcap" > "sh: using dumb terminal settings" >=20 > 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: >=20 > "/tmp/ed.nxI103: Read-only file system" >=20 > 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. >=20 >=20 > Daniel >=20 >=20 > __________________________________________________ > Do You Yahoo!? > Yahoo! Sports - Coverage of the 2002 Olympic Games=20 > http://sports.yahoo.com >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c1bef2$e86cebe0$6400a8c0>