Ok, somehow in playing with your zip drive you goobered your /etc/fstab.

FIRST, ls /etc/*fstab* and see if there are any good backup copies of
the fstab file; if you find one, rename ("mv") it to /etc/fstab, reboot,
and you should be in business.

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -

If not, you'll have to re-create your fstab by hand.  To do this you'll
have to know what partitions you laid out for what; to start with, use
the fdisk command to see what partitions you have.  This is pretty
self-explanatory, but you are stuck try this:

echo p | fdisk /dev/hda

Then you have to set up a proper fstab.  As an example of a reasonably
complex fstab, here is mine.  Yours is certain to be simpler than this,
and most people mount devices to the /mnt directory rather than to
single-letter directories at the root.  But between looking at your
fdisk output, the "fstab" man page, and this example file, you ought to
be able to get your system working again without too much trouble.

/dev/hda1 /C vfat noauto,user,exec,conv=auto 0 0
/dev/hda2 / ext2 noatime 1 1
/dev/hda4 /vm ext2 noatime 0 0
/dev/hda5 /home ext2 noatime 1 2
/dev/hda6 /usr ext2 noatime 1 2
/dev/hda7 /usr/local ext2 noatime 1 2
/dev/hda8 /bts ext2 noatime 1 2
/dev/hda9 /tmp ext2 noatime 1 2
none /proc proc defaults 0 0
none /dev/pts devpts mode=0620 0 0
/dev/floppy     /A      auto noauto,user        0 0
/dev/cdrom      /E      auto noauto,user,ro     0 0
/dev/loop0 /F iso9660 noauto,user 0 0
bbsrv01.unx.[CENSORED].com:/afs /afs  nfs noauto,rw,user 0 0

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -

Of course, *next* time you are trying to set up your zip drive try
making a safe copy of fstab first!


Good luck.


J D wrote:
> 
> okay, i figured out what is wrong.  my hard drive has all of a sudden become
> read only.  i didn't think this was possible, but here i am.
> what i don't understand is how it got that way, and how to fix it.  any help
> would be great.
> 
> also, i have looked in my fstab file.  for some reason, only stuff for the
> zip drive is there.  now, considering i don't know very much, i think that
> that is a major problem.
> 
> >From: Mike Corbeil <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: Re: [expert] Booting problem-----more
> >Date: Wed, 19 Apr 2000 20:22:47 -0400
> >
> >J D wrote:
> >
> > > i got into linuxconf.  when i got to access local volumes, all it has
> >is:
> > >
> > > /dev/zip for source, /mnt/zip for mount point, vfat for FsType.
> > > it says it three times.  there is nothing else.  could this be the
> >source of
> > > my problems?  i think i know what's going on, but since i'm new to this,
> >i
> > > don't want to get ahead of myself.
> >
> >Understandable.
> >
> >Add the dos drive or partitions, if that's what you want to do; however,
> >you
> >need to know what the /dev/{filename} is.  You can find that out with
> >fdisk.
> >If your dos partition is on the first hdd, then run fdisk without any
> >arguments; if on the second hdd, then run with /dev/hdb for an argument.
> >The
> >screen you need to use is Config | Boot, instead of Config | Filesystems.
> >
> >mike
> >
> >
> >
> >
> >On the other hand, that's for adding filesystem fstab mounts, whereas I
> >believe
> >what you're trying to do is to configure lilo for a boot manager.
> >
> >In this case, you need to provide the following information:
> >
> >- the contents of your lilo.conf file, and
> >
> >- what hdd your dos boot partition is on, hda or hdb.
> >
> >Also, look using either fdisk, or looking at your fstab file, to see which
> >/dev/hd[ab]{n} device file your dos boot partition is mapped to.  If it's
> >at
> >the beginning of hda, then it's probably /dev/hda1, and in this case, if
> >you
> >want to place lilo boot manager in the MBR (master boot record), then you
> >need
> >to make sure that the first line of your lilo.conf file (in the /etc
> >directory)
> >is
> >
> >         boot = /dev/ hda
> >
> >You can configure lilo using linuxconf, but you described the wrong screen,
> >above.
> >
> >
> >
> >
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com

-- 
"Brian, the man from babble-on"                 [EMAIL PROTECTED]
Brian T. Schellenberger                         http://www.babbleon.org
Support http://www.eff.org.                     Support decss
defendents.
Support http://www.programming-freedom.org.     Boycott amazon.com.

Reply via email to