Date: Tue, 9 Mar 2010 09:37:03 +0000 From: krad <kraduk@googlemail.com> To: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> Cc: oscar Seo <oscar815@gmail.com>, freebsd-questions@freebsd.org Subject: Re: How can I repair wrong /etc/rc.conf ? Message-ID: <d36406631003090137i3fda7b03v2e5e254fa5540686@mail.gmail.com> In-Reply-To: <447hpm9ga3.fsf@lowell-desk.lan> References: <861961dd1003082145w4c19d4f0g1f59597d2d077ec7@mail.gmail.com> <447hpm9ga3.fsf@lowell-desk.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9 March 2010 06:10, Lowell Gilbert < freebsd-questions-local@be-well.ilk.org> wrote: > oscar Seo <oscar815@gmail.com> writes: > > > I'm using FreeBSD 6.4 + windowmaker in IBM notebook. > > I edited /etc/rc.conf to use LAN other ip address is different from my > home > > address in my school. > > I got error message from this > > [ > > /etc/rc.conf: 131: Syntax error: Unterminated quoted string > > Enter full pathname of shell or RETURN for /bin/sh: > > ] > > so that I returned, I decided to edit /etc/rc.conf using vi. > > But freebsd didn't find vi, less any other application. > > I can't modify even if read /etc/rc.conf. > > fortunately I can use cat so I found my fault sting from /etc/rc.conf but > I > > can't modify any files cause the system changed into read only file > system. > > How can I repair /etc/rc.conf file with fault statements using any > editor? > > > > Thanks in advanced. > > Oscar > > There is an entry in the FreeBSD FAQ titled "I made a mistake in > rc.conf, or another startup file, and now I cannot edit it because the > file system is read-only. What should I do?" > > It's exactly what you need. > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/<http://be-well.ilk.org/%7Elowell/> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > try doing a "mount -uw /" then a "mount -a"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d36406631003090137i3fda7b03v2e5e254fa5540686>