Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 1999 22:35:36 +0100
From:      "James A Wilde" <james.wilde@telia.com>
To:        <freebsd-newbies@freebsd.org>
Subject:   Re: readonly filesystem to read-write
Message-ID:  <001601bf50b2$525b2910$8208a8c0@iqunlimited.net>
References:  <04dc01bf4cbf$e726fde0$8208a8c0@iqunlimited.net> <19991223113412.D8547@hades.hell.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, Giorgos, that did it.  It was first this evening that I had the
chance to
test the various options everyone presented.

Thanks to all who contributed.

mvh/regards

James Wilde

----- Original Message -----
From: Giorgos Keramidas <charon@hades.hell.gr>
To: James A Wilde <james.wilde@telia.com>
Cc: <freebsd-newbies@freebsd.org>
Sent: Thursday, December 23, 1999 10:34
Subject: Re: readonly filesystem to read-write


> |
> | How do I change the state of the file system to read-write so that I can
at
> | least boot the
> | system all the way and then repair the file with vi?
>
> If you use the following command, all the filesystems will be mounted
> with the flags that they have in /etc/fstab.  This should fix those
> that have been mounted read-only:
>
> # mount -a -u
>
> Then you can edit your /etc/fstab with your favorite editor, be it
> ed(1), vi(1), or anything you prefer.  HOWEVER, please do remember to
> umount the filesystems cleanly before hitting the big red button.  If
> you do a:
>
> # umount -a
>
> then you should be ready to go.
>
> On the other hand, if you just want to mount / as read-write, and use
> the canonical Unix editor, that is ed(1), to edit your /etc/fstab, you
> can do (right after booting and having the root-fs mounted read-only):
>
> # mount -u /
>
> which will mount it read-write.  The rest of it you know already...
>
> Ciao.
>
> --
> Giorgos Keramidas, <keramida@ceid.upatras.gr>
> "What we have to learn to do, we learn by doing." [Aristotle]



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001601bf50b2$525b2910$8208a8c0>