Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Mar 2000 23:46:31 +0000
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Gary Landers <gary@tein.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: fstab  - OK I screwed up
Message-ID:  <20000308234631.D234@parish>
In-Reply-To: <000f01bf8930$16f14790$0cf6fcce@tein.net>; from gary@tein.net on Wed, Mar 08, 2000 at 11:57:02AM -0700
References:  <000f01bf8930$16f14790$0cf6fcce@tein.net>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000308234631.D234>