Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 1999 09:32:34 +1300 (NZDT)
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        caijj@trans.hk.hi.cn
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: read-only filesystem?
Message-ID:  <Pine.SC5.4.10.9903080930350.3079-100000@kiwi.pinnacle.co.nz>
In-Reply-To: <199903070400.MAA08835@trans.hk.hi.cn.>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SC5.4.10.9903080930350.3079-100000>