On Fri, 2 Feb 2001, Lorris J. Woods wrote:

> I believe you have overwritten your /etc/fstab; I don't remember the exact
> format, but you need to have an entry for /dev/hda1 in there.
>
No, you do not need an entry in /etc/fstab when you give the device to
mount.  You only need the entry when you want to be able to do things
like "mount /mnt/cdrom" instead of "mount /dev/hdc /mnt/cdrom".  An
entry in /etc/fstab is also normaly required if you want to be able to
use mount without being root.
>
> On Fri, 2 Feb 2001, Ditesh wrote:
>
> > Hello all,
> >
> > I have had trouble mounting my windows partition after compiling 2.4.x.
> > Reverting back to the old kernel does not seem to solve the problem.
> >
> > When I issue the command:
> > mount -t auto /dev/hda1 /mnt/windows
> >
> > the error I get is:
> > mount: /dev/hda1 has wrong major or minor number
> >
> > ls -al /dev/hda1 gives:
> > brw-rw----  1 root  disk    3,      1 May 6 1998 /dev/hda1
> >
> > hda6 is my linux partition (mounting linux partitions is no problem) and
> > ls -al /dev/hda6:
> >
> > brw-rw----  1 root  disk    3,      1 May 6 1998 /dev/hda1
> >
This is the output of ls -al /dev/hda1, not hda6...  But it is the
correct settings for /dev/hda1.

> > I also cannot mount my cdrom for similar reasons.
> >
> > Any ideas?
> >
> > ditesh
> >
What does fdisk -l /dev/hda give you?  What is in /etc/mtab?

  I don't have any good ideas so far, and you should get a different
error message if you don't have a partition 1.  I normaly see that error
message when you don't have a module loaded that you need to access the
device.

Now, for accessing your CD, it may be because you have the (IDE/SCSI) CD
drivers compiled as a module, and the module isn't being loaded.  For
the hard drive, if you already have one partition mounted, then the
proper drivers have to be loaded.  Unless you are trying to mount the
wrong drive?

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to