From owner-freebsd-questions@FreeBSD.ORG Tue Mar 9 09:37:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E7FC1065670 for ; Tue, 9 Mar 2010 09:37:05 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f215.google.com (mail-fx0-f215.google.com [209.85.220.215]) by mx1.freebsd.org (Postfix) with ESMTP id C73E38FC08 for ; Tue, 9 Mar 2010 09:37:04 +0000 (UTC) Received: by fxm7 with SMTP id 7so2732881fxm.14 for ; Tue, 09 Mar 2010 01:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=4itAhnTJWiQmYieCjySuxi2t/b3YmnCzkZ5CcnFDfj0=; b=RTWSKQdftF+wRwPC7nJwQqeK0ov6d66aOG27gnnlm8b4O/ow4uZ0SU05usY6vnEHxm t0Cjx9mVQrMagakn2jCSy2gkCejg0F8URLbBxPDnZ5nNKHcpmnrtZ37tOZZNlCBJxTr9 dO8YCu5fMYrrb69Q14qi/GXkpAXNP2u5lSTJg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=lSOPHBn9yzbHVctA3q3dMKE4rnUgnBDys0glw6AkcoVCxtyfDODI2SgzvyHE3cK3wH DTR/1QEELpEpWfEfBf5h/b7V9CNg+ogYX6iXQ/XXQKgBrx5oA043tp6vNU9CmoybgL6V P9JxLOMtUPVk5YprAyBB/avA15gov0OW10XsY= MIME-Version: 1.0 Received: by 10.239.184.199 with SMTP id z7mr595765hbg.113.1268127423352; Tue, 09 Mar 2010 01:37:03 -0800 (PST) In-Reply-To: <447hpm9ga3.fsf@lowell-desk.lan> References: <861961dd1003082145w4c19d4f0g1f59597d2d077ec7@mail.gmail.com> <447hpm9ga3.fsf@lowell-desk.lan> Date: Tue, 9 Mar 2010 09:37:03 +0000 Message-ID: From: krad To: Lowell Gilbert Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: oscar Seo , freebsd-questions@freebsd.org Subject: Re: How can I repair wrong /etc/rc.conf ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2010 09:37:05 -0000 On 9 March 2010 06:10, Lowell Gilbert < freebsd-questions-local@be-well.ilk.org> wrote: > oscar Seo 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/ > _______________________________________________ > 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"