From owner-freebsd-questions@FreeBSD.ORG Tue Mar 9 05:54:22 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 731D3106566B for ; Tue, 9 Mar 2010 05:54:22 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 47B898FC17 for ; Tue, 9 Mar 2010 05:54:22 +0000 (UTC) Received: by pvg3 with SMTP id 3so2308351pvg.13 for ; Mon, 08 Mar 2010 21:54:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=F51yzxzbrpa/K3bSkxmaObdbEhct77q6FFdlSB8Mwyc=; b=PEBCXJDTVlXfPo8P9XsNwQKbiP4ZUnBYcwiruVpFPM7kpiZWiTY3xM199pkTz/TYzd A5yv5SiQcO3ymhftqVb5te847OuXPUkyP3bJAGFnnIx493XYUQsM05GdLXKB3OLe3DoD kcdBcSJS9CEggiHLR5q4wC0Cyb3aG5s5NYiC0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=JR+WBOq8mKzG6a2jP54/MWodsBfomKTdmgmNlswRE7KwhYr39ablkstcTSQqOH8+wc TpQ0YZGaakVNLv/d1UK7GLkHpCfc1xndhhmOpJctznUSSb+9TZqc19V/Jv8O1FJB6BFc nEZ89b8gtatr2Jv+ohrWW46DOV0PmSUzx6c4A= MIME-Version: 1.0 Received: by 10.142.247.38 with SMTP id u38mr4154484wfh.47.1268114061813; Mon, 08 Mar 2010 21:54:21 -0800 (PST) In-Reply-To: <861961dd1003082145w4c19d4f0g1f59597d2d077ec7@mail.gmail.com> References: <861961dd1003082145w4c19d4f0g1f59597d2d077ec7@mail.gmail.com> Date: Mon, 8 Mar 2010 23:54:21 -0600 Message-ID: <6201873e1003082154l6a5c910agc7e94344a4110a1b@mail.gmail.com> From: Adam Vande More To: oscar Seo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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 05:54:22 -0000 On Mon, Mar 8, 2010 at 11:45 PM, oscar Seo wrote: > 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 > The are multiple ways to do this, easiest is to type in at the sh prompt: mount -a You would then have access to /usr, vi is in /usr/bin/vi -- Adam Vande More