From owner-freebsd-newbies Mon Dec 27 13:35:50 1999 Delivered-To: freebsd-newbies@freebsd.org Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by hub.freebsd.org (Postfix) with ESMTP id C9EBE15061 for ; Mon, 27 Dec 1999 13:35:46 -0800 (PST) (envelope-from james.wilde@telia.com) Received: from ents02 (t2o73p46.telia.com [62.20.218.166]) by mailb.telia.com (8.9.3/8.9.3) with SMTP id WAA15518 for ; Mon, 27 Dec 1999 22:35:29 +0100 (CET) Message-ID: <001601bf50b2$525b2910$8208a8c0@iqunlimited.net> From: "James A Wilde" To: References: <04dc01bf4cbf$e726fde0$8208a8c0@iqunlimited.net> <19991223113412.D8547@hades.hell.gr> Subject: Re: readonly filesystem to read-write Date: Mon, 27 Dec 1999 22:35:36 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 To: James A Wilde Cc: 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, > "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