Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* lost fstab
@ 1997-10-06 17:12 Robert Williams
  1997-10-06 17:25 ` Jerry Feldman
  1997-10-06 18:01 ` Kees Cook
  0 siblings, 2 replies; 4+ messages in thread
From: Robert Williams @ 1997-10-06 17:12 UTC (permalink / raw)


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?

-- 
Bob Williams, http://bob.usuf2.usuhs.mil/

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: lost fstab
  1997-10-06 17:12 Robert Williams
@ 1997-10-06 17:25 ` Jerry Feldman
  1997-10-06 18:01 ` Kees Cook
  1 sibling, 0 replies; 4+ messages in thread
From: Jerry Feldman @ 1997-10-06 17:25 UTC (permalink / raw)


> 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?
To mount root R/W
/sbin/mount -u /

This will remount your root file system r/w.

+--------------------------------------------------------------------+
Jerry Feldman            Digital Unix Development Environment
Digital Equipment Corp.  (work)gaf@zk3.dec.com (home)gaf@mediaone.net
110 Spitbrook Rd.        Mailstop: ZKO3-2/W17
Nashua, NH 03062-9987    (603)884-2970, DTN:264-2970
+--------------------------------------------------------------------+
 

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: lost fstab
       [not found] <19971006130101.35259@cpoint.net>
@ 1997-10-06 17:36 ` Jerry Feldman
  0 siblings, 0 replies; 4+ messages in thread
From: Jerry Feldman @ 1997-10-06 17:36 UTC (permalink / raw)


My previous post used the Digital Unix mount rather than the GNU mount. 
Kees Cook's response is the correct response.
mount -n -o remount,rw /

not 
mount -u /

+--------------------------------------------------------------------+
Jerry Feldman            Digital Unix Development Environment
Digital Equipment Corp.  (work)gaf@zk3.dec.com (home)gaf@mediaone.net
110 Spitbrook Rd.        Mailstop: ZKO3-2/W17
Nashua, NH 03062-9987    (603)884-2970, DTN:264-2970
+--------------------------------------------------------------------+
 

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: lost fstab
  1997-10-06 17:12 Robert Williams
  1997-10-06 17:25 ` Jerry Feldman
@ 1997-10-06 18:01 ` Kees Cook
  1 sibling, 0 replies; 4+ messages in thread
From: Kees Cook @ 1997-10-06 18:01 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-10-06 18:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <19971006130101.35259@cpoint.net>
1997-10-06 17:36 ` lost fstab Jerry Feldman
1997-10-06 17:12 Robert Williams
1997-10-06 17:25 ` Jerry Feldman
1997-10-06 18:01 ` Kees Cook

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