From owner-freebsd-questions Sun Mar 7 12:34:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kiwi.pinnacle.co.nz (pinsoft.internet.co.nz [202.37.141.181]) by hub.freebsd.org (Postfix) with ESMTP id 99E1014D37 for ; Sun, 7 Mar 1999 12:34:12 -0800 (PST) (envelope-from jonc@pinnacle.co.nz) Received: from kiwi.pinnacle.co.nz (kiwi.pinnacle.co.nz [202.37.163.2]) by kiwi.pinnacle.co.nz (8.9.3/8.9.3) with ESMTP id JAA03492; Mon, 8 Mar 1999 09:32:34 +1300 (NZDT) Date: Mon, 8 Mar 1999 09:32:34 +1300 (NZDT) From: Jonathan Chen To: caijj@trans.hk.hi.cn Cc: freebsd-questions@FreeBSD.ORG Subject: Re: read-only filesystem? In-Reply-To: <199903070400.MAA08835@trans.hk.hi.cn.> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 7 Mar 1999 caijj@trans.hk.hi.cn wrote: > Hi, Gurus: > I modified the "/etc/fstab", then the system can't normally start up. > I want to recover the "/etc/fstab", but the system said "/" was "read-only > filesystem". I boot with installation floppy, and run "disklabel", but > it didn't work. How can I recover the "/etc/fstab"? Boot single user. # mount -u / This will change your read-only filesystem to read-write. You may have to mount the other file-systems manually to enable programs like vi(1). Jonathan Chen ---------------------------------------------------------------------- "Don't forget the most important rule to live by.. Never believe anything you read on the USENET" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message