From owner-freebsd-questions Wed Mar 8 15:47: 6 2000 Delivered-To: freebsd-questions@freebsd.org Received: from neodymium.btinternet.com (neodymium.btinternet.com [194.73.73.83]) by hub.freebsd.org (Postfix) with ESMTP id AD4E537B676 for ; Wed, 8 Mar 2000 15:46:58 -0800 (PST) (envelope-from mark@ukug.uk.freebsd.org) Received: from [62.6.82.70] (helo=parish.my.domain) by neodymium.btinternet.com with esmtp (Exim 2.05 #1) id 12SqA9-00058E-00; Wed, 8 Mar 2000 23:46:48 +0000 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id XAA01884; Wed, 8 Mar 2000 23:46:32 GMT (envelope-from mark) Date: Wed, 8 Mar 2000 23:46:31 +0000 From: Mark Ovens To: Gary Landers Cc: FreeBSD Questions Subject: Re: fstab - OK I screwed up Message-ID: <20000308234631.D234@parish> References: <000f01bf8930$16f14790$0cf6fcce@tein.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <000f01bf8930$16f14790$0cf6fcce@tein.net>; from gary@tein.net on Wed, Mar 08, 2000 at 11:57:02AM -0700 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 08, 2000 at 11:57:02AM -0700, Gary Landers wrote: > I am moving a system to a new hdd. I forgot redo the fstab file so now it > errors on boot. I can get a prompt and cat the file but get a "file system > read only" whenever I try to correct it. Is there any way to get in to > modify the fstab at this point. I have a copy of the correct fstab as > fstab.bak in /etc. > By "get a prompt" I assume you mean it boots to single user, yes? In which case ``mount -u /'' will re-mount / as read-write and you can then copy your backup into place. HTH > PS this is the second time I have made this mistake, the first time I wiped > out the new HDD and started over at the beginning. I can do this but am > hoping to find an easier way. > > Gary Landers > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? BSD: Are you guys coming, or what? -Poster at LinuxWorld 2000 ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message