[Prev][Next][Index][Thread]

Re: Redhat 4.0 trouble....



Tuvik Beker wrote:
> 
> dxreckles@amoco.com wrote:
> >
> >      After a 4.0 redhat install (intel), I get
> >
> >
> >       e2fsck 1.04, 16-may-96 for EXT2 FS 0.5b, 95/08/09
> >
> >       e2fsck: Is a directory while trying to open /dev/hda2
> 
> >      >      fstab
> >      >
> >      >      /dev/hda1  /       ext2    defaults        11
> >      >      /dev/hda2  /dev/hda2       ext2    defaults        12 >
>                          ^^^^^^^^^^
> 
> Apparently, you are trying to mount /dev/hda2 _ON_ /dev/hda2, which is
> incorrect.

This fstab entry indeed isn't correct.  But I suspect this error is
caused
because /dev/hda2 is a directory instead of being a block device inode.
What does "ls -l /dev/hda2" give?  Try running "/dev/MAKEDEV hda" (from
/dev) if /dev/hda2 looks strange (e.g. differs from /dev/hda1 in more
fields than just the minor device number).

--Amos

--Amos Shapira                   | "Of course Australia was marked for
133 Shlomo Ben-Yosef st.         |  glory, for its people had been
chosen
Jerusalem 93 805                 |  by the finest judges in England."
ISRAEL            amos@dsi.co.il |                     -- Anonymous


Follow-Ups: References: