From owner-freebsd-questions@FreeBSD.ORG Mon Jan 19 14:54:43 2009 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 D51411065674 for ; Mon, 19 Jan 2009 14:54:43 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 94ED28FC12 for ; Mon, 19 Jan 2009 14:54:43 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 19 Jan 2009 09:54:42 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.10.4-GA) with ESMTP id PKS62431; Mon, 19 Jan 2009 09:54:42 -0500 (EST) Received: from unknown (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 19 Jan 2009 09:54:42 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18804.37937.713869.998623@jerusalem.litteratus.org> Date: Mon, 19 Jan 2009 09:54:41 -0500 To: Pieter Donche In-Reply-To: References: X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: "mail.list freebsd-questions" Subject: / mounted read-only after error in /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: Mon, 19 Jan 2009 14:54:44 -0000 Pieter Donche writes: > I made a typing error when chanign /etc/rc.conf > (linux_enable=YES") > when rebooting the system, the boot stops > /etc/rc.conf: 22: Syntax error: Unterminated quote string > Enter full pathname of shell or RETURN for /bin/sh: > # > this leaves me with > /dev/ds0s1a on / (ufs, local, read-only) > > since / is read-only I can not edit /etc/rc.conf to correct the error. > > How to solve this? 1) boot to single user mode 2) (if necessary) mount /usr by hand to get access to favorite editor 3) edit rc.conf 4) re-boot Robert Huff