Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Kees Cook <cook@cpoint.net>
Subject: Re: lost fstab
Date: Mon, 6 Oct 1997 13:01:01 -0500	[thread overview]
Message-ID: <859ca79d75f1f1f7b2879e6d92644884.axp-list@archive.invalid> (raw)
In-Reply-To: <34391C13.794B@bob.usuf2.usuhs.mil>

On 1997/10/06 13:12 -0400, Robert Williams wrote:
> I've lost the /etc/fstab file
> on an axp system following an erroneous
> nfs mount.  (There is an fstab file,
> but it is empty.)  The system will come up
> in repair mode, but the root filesystem
> is mounted as read-only, so I can't
> repair fstab this way.  Any suggestions?

Once you're booted in single user mode, you need to remount the root
filesystem read/write.  This is done with:

mount -n -o remount,rw /

Then you can edit your /etc/fstab, and then make your fs readonly again:

mount -n -o remount,ro /

--  
Cornelius "Kees" Cook                           cook@cpoint.net
Senior Systems Operation Manager, Counterpoint Networking, Inc.

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

  parent reply	other threads:[~1997-10-06 18:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-06 17:12 lost fstab Robert Williams
1997-10-06 17:25 ` Jerry Feldman
1997-10-06 18:01 ` Kees Cook [this message]
     [not found] <19971006130101.35259@cpoint.net>
1997-10-06 17:36 ` Jerry Feldman
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox