From owner-freebsd-questions Thu Feb 8 19:32:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from viper.syncnet.dynodns.net (p25-max42.syd.ihug.com.au [203.173.147.217]) by hub.freebsd.org (Postfix) with ESMTP id A630A37B65D for ; Thu, 8 Feb 2001 19:32:13 -0800 (PST) Received: (from syncman@localhost) by viper.syncnet.dynodns.net (8.11.1/8.11.1) id f193QoN00778; Fri, 9 Feb 2001 14:26:50 +1100 (EST) (envelope-from syncman) From: Andrew Sinclair Date: Fri, 9 Feb 2001 14:26:49 +1100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" To: Gerald Raynor References: <20010209002152.48348.qmail@web12606.mail.yahoo.com> In-Reply-To: <20010209002152.48348.qmail@web12606.mail.yahoo.com> Subject: Re: Can not boot/rc.conf - no vi Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-Id: <01020914264900.00376@viper.syncnet.dynodns.net> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday 09 February 2001 11:21, you wrote: > I made some changes to the "rc.conf" and it seems as > though I have a syntax error. I go into "/bin/sh" but > I have no access to an editor, "vi" or "ee". I do > have access to "cp" and "mv" but I am unable to > copy/move the backup file, I so rarely make, over the > current "rc.conf". I am getting the error "Read-only > file system". > > Does anyone have any suggestions? I'm running 3.2 > Release. Thanks! > Your system appears to be running in single user mode. In this mode, only your root file system is mounted in read only mode for safety. Under /bin/sh, type the following commands: # /sbin/mount -u / # /sbin/mount /usr This will mount your root file system in RW mode and your 'usr' partition. Now you may type: # /usr/bin/ee /etc/rc.conf -- - Syncman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message