From owner-freebsd-questions Tue Jul 2 18:16:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2720737B400 for ; Tue, 2 Jul 2002 18:16:22 -0700 (PDT) Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBDE943E42 for ; Tue, 2 Jul 2002 18:16:21 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Received: from localhost (localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.11.6/8.11.6) with ESMTP id g6314ow42977; Tue, 2 Jul 2002 18:06:12 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Date: Tue, 2 Jul 2002 18:04:50 -0700 (PDT) From: Annelise Anderson To: chris@ooc2000.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Help! Syntax error in rc.conf has made my entire filesystem read only!!!!!! In-Reply-To: <20020703005701.30100.qmail@web21412.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 2 Jul 2002, Chris wrote: > I was making some changes to rc.conf, and I introduced a syntax error (I forgot to close quotes on > my ed0= line, configuring my NIC). It'd be easy to fix, but I can't make any changes whatsover to > any file -- everything I try gets me "Read-Only file system". Also, during boot time it makes me > enter the path to my shell (bash), and I can't ever logout - every attempt makes me reenter the > shell. (I guess rc.conf is getting run out logout time too and it's failing in the same place). > > Has anyone seen this? What do I do???? I just have to make one tiny change to rc.conf and I'm all > set . . . but how???? > You boot single user. You type mount -u / and then mount -a You should thus be able to mount all your file systems, which will give you access to your favorite editor. You might have to type /sbin/mount -rw -a or perhaps even mount the file systems individually; you can see what they are with cat /etc/fstab Annelise -- Annelise Anderson Author of: FreeBSD: An Open-Source Operating System for Your PC Available from: BSDmall.com and amazon.com Book Website: http://www.bittreepress.com/FreeBSD/introbook/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message