From owner-freebsd-questions@FreeBSD.ORG Wed Aug 22 19:08:18 2007 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 52CA816A421 for ; Wed, 22 Aug 2007 19:08:18 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 1AC4713C45D for ; Wed, 22 Aug 2007 19:08:12 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l7MJ3xmj057068; Wed, 22 Aug 2007 15:03:59 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l7MJ3xYU057067; Wed, 22 Aug 2007 15:03:59 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 22 Aug 2007 15:03:58 -0400 From: Jerry McAllister To: Lisandro Grullon Message-ID: <20070822190358.GA56955@gizmo.acns.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Need to edit rc.conf, but FS won't allow. 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: Wed, 22 Aug 2007 19:08:18 -0000 On Wed, Aug 22, 2007 at 01:32:30PM -0400, Lisandro Grullon wrote: > > Hi all, > I was playing around with rc.conf under /etc and accidentally didn't quote > properly one of my "YES" entries, now the system won't boot. I tried > booting into single user and re-editing the file, yet the time I tried > saving it it tells me that the root files systm is read only. Is there > a way around this. Thanks in advance. Yes, when you boot single user, it comes up with root mounted read-only and no other file system mounted. You need to remount root. At minimum do: mount -u / Actually, from long habit, when I boot single user, I do the whole schmear as follows: fsck -p mount -u / mount -a swapon -a and then go on to fix up what I need. ////jerry > 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" >