Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Bad fstab entry!!!  Can't boot!!!
@ 1998-03-22  5:00 Peter Smith
  1998-03-23  5:00 ` Paul Szabo
  1998-03-30  5:00 ` Jean-Marc Pozas
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Smith @ 1998-03-22  5:00 UTC (permalink / raw)



Help!

OS: Digital Unix 4.0D
HW: DEC Alpha Workstation 433
Problem: Bad /etc/fstab entry -> can't boot properly

I've put a bad entry in my /etc/fstab file and can't reboot properly.
As the system comes-up I get a 'BAD SUPERBLOCK' error when the OS tries
to mount
/dev/rz18g -> thus I get thrown into Single-User mode, with the / (root)
partition 'read-only'!!!  The problem is a typo in my fstab file!  I
wanted it to be /dev/rz16h instead, but I have been unable to change
either /etc/fstab or the script that calls an 'fsck -p' which provokes
the error b/c the root directory (/) is mounted 'read-only'.  I'm
thinking there are 2 possible solutions:

1. Fix the /dev/rz18g partition to whatever it needs to be.
2. Somehow correct the entry in the /etc/fstab file.

Since I've no idea how to configure a drive/partition, 1. seems like a
longshot.  I've used the disklabel command to get the output of the
'disklabel' command to look just like that for the drive/partitions that
do work, but still this 'BAD SUPERBLOCK' problem.  I'm able to mount
other partitions with 'write' on.  What other things do I have to do to
get a drive/partition 'ready' to be mounted?  Is there a way to make the
root mount writable?

How do I fix this???!!!!

Thank-you!

--Peter--
psmith01-at-mindspring.com





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

* Re: Bad fstab entry!!!  Can't boot!!!
  1998-03-23  5:00 ` Paul Szabo
@ 1998-03-22  5:00   ` Peter Smith
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Smith @ 1998-03-22  5:00 UTC (permalink / raw)



Thanks much.  That did it!  I still have a job!!!! (for now...)

:)

Paul Szabo wrote:

> Peter Smith wrote:
> > Problem: Bad /etc/fstab entry -> can't boot properly
> > ...\x18into Single-User mode, with the / (root) partition 'read-only'!!
>
> In single-user mode you need to use
>
>   mount -u /
>
> to re-mount the / partition read-write, then you can edit /etc/fstab.
>
> ---
> [ The email address is munged in the headers and in the lines below, in an ]
> [ attempt to avoid junk (spam) mail. Sorry about the inconvenience caused. ]
> ---
> Paul Szabo - System Manager     //      School of Mathematics and Statistics
> psz at maths . usyd . edu . au //  University of Sydney, NSW 2006, Australia






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

* Re: Bad fstab entry!!!  Can't boot!!!
  1998-03-22  5:00 Bad fstab entry!!! Can't boot!!! Peter Smith
@ 1998-03-23  5:00 ` Paul Szabo
  1998-03-22  5:00   ` Peter Smith
  1998-03-30  5:00 ` Jean-Marc Pozas
  1 sibling, 1 reply; 5+ messages in thread
From: Paul Szabo @ 1998-03-23  5:00 UTC (permalink / raw)
  To: Peter Smith


Peter Smith wrote:
> Problem: Bad /etc/fstab entry -> can't boot properly
> ...\x18into Single-User mode, with the / (root) partition 'read-only'!!

In single-user mode you need to use

  mount -u /

to re-mount the / partition read-write, then you can edit /etc/fstab.

---
[ The email address is munged in the headers and in the lines below, in an ]
[ attempt to avoid junk (spam) mail. Sorry about the inconvenience caused. ]
---
Paul Szabo - System Manager     //      School of Mathematics and Statistics
psz at maths . usyd . edu . au //  University of Sydney, NSW 2006, Australia



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

* Re: Bad fstab entry!!!  Can't boot!!!
  1998-03-22  5:00 Bad fstab entry!!! Can't boot!!! Peter Smith
  1998-03-23  5:00 ` Paul Szabo
@ 1998-03-30  5:00 ` Jean-Marc Pozas
  1998-03-31  5:00   ` Warren Sypteras
  1 sibling, 1 reply; 5+ messages in thread
From: Jean-Marc Pozas @ 1998-03-30  5:00 UTC (permalink / raw)



In article <35159DE5.AD41080A@mindspring.com>, Peter Smith <psmith01@mindspring.com> writes:
> Help!
> 
> OS: Digital Unix 4.0D
> HW: DEC Alpha Workstation 433
> Problem: Bad /etc/fstab entry -> can't boot properly
> 
> I've put a bad entry in my /etc/fstab file and can't reboot properly.
> As the system comes-up I get a 'BAD SUPERBLOCK' error when the OS tries
> to mount
> /dev/rz18g -> thus I get thrown into Single-User mode, with the / (root)
> partition 'read-only'!!!  The problem is a typo in my fstab file!  I
> wanted it to be /dev/rz16h instead, but I have been unable to change
> either /etc/fstab or the script that calls an 'fsck -p' which provokes
> the error b/c the root directory (/) is mounted 'read-only'.  I'm
> thinking there are 2 possible solutions:
> 
> 1. Fix the /dev/rz18g partition to whatever it needs to be.
> 2. Somehow correct the entry in the /etc/fstab file.
> 
> Since I've no idea how to configure a drive/partition, 1. seems like a
> longshot.  I've used the disklabel command to get the output of the
> 'disklabel' command to look just like that for the drive/partitions that
> do work, but still this 'BAD SUPERBLOCK' problem.  I'm able to mount
> other partitions with 'write' on.  What other things do I have to do to
> get a drive/partition 'ready' to be mounted?  Is there a way to make the
> root mount writable?
> 
> How do I fix this???!!!!
> 
> Thank-you!
> 
> --Peter--
> psmith01-at-mindspring.com
> 
> 

mount -u / in single mode put the / partition writable.
JMP



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

* Re: Bad fstab entry!!!  Can't boot!!!
  1998-03-30  5:00 ` Jean-Marc Pozas
@ 1998-03-31  5:00   ` Warren Sypteras
  0 siblings, 0 replies; 5+ messages in thread
From: Warren Sypteras @ 1998-03-31  5:00 UTC (permalink / raw)
  To: Jean-Marc Pozas


Jean-Marc;

		Did you try "mount -u /" which should make it read/write
.

Warren






Jean-Marc Pozas wrote:
> 
> In article <35159DE5.AD41080A@mindspring.com>, Peter Smith <psmith01@mindspring.com> writes:
> > Help!
> > do work, but still this 'BAD SUPERBLOCK' problem.  I'm able to mount
> > other partitions with 'write' on.  What other things do I have to do to
> > get a drive/partition 'ready' to be mounted?  Is there a way to make the
> > root mount writable?
> >



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

end of thread, other threads:[~1998-03-31  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-22  5:00 Bad fstab entry!!! Can't boot!!! Peter Smith
1998-03-23  5:00 ` Paul Szabo
1998-03-22  5:00   ` Peter Smith
1998-03-30  5:00 ` Jean-Marc Pozas
1998-03-31  5:00   ` Warren Sypteras

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