Discussion Locked

Mounting Drives

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Ok...I can't mount my floppy, or cd-rom drives!!! However, I have been able to successfully mount another hd which has my old downloads from windows. To mount the cd-rom and floppy, i am doing the following:

mount /dev/cdrom /mnt/cdrom
mount /dev/fd0 /mnt/floppy

when i try this, i get the error message that they are not valid block devices. I have tried this as a su, and regular user, but it gives me the same errors!!!

Please Help..i need these drives badly.

9 replies

by jcmcintyre

Hi

The probelm is normally related to either the permissions set in /etc/fstab, or the format of the disk you are trying to mount.

Here is what my /etc/fstab looks like. Actually, these are just the entries for the floppy and cdrom drives.

First, the floppy
/dev/fd0 /mnt/floppy vfat user,exec,dev,suid,rw,noauto,conv=auto uid=99 0 0

Now, the cd

/dev/cdrom /mnt/cdrom iso9660 user,exec,dev,suid,ro,noauto 0 0 none

Although the drvices both suid, this is set to a non-root user. You can edit /etc/fstab with any editor, or through linuxconf-->file systems-->access local drive.

IHTH

by eckostar

Sorry to say, but i tried what your
fstab had in it and i still get the
error message saying

mount: /dev/cdrom is not a valid block
device

by jcmcintyre

Try this:
/dev/cdrom may not be pointing to the right place. If it's an IDE cdrom, try:

mount -t is09660 /dev/hdx /mnt/cdrom
where x represents the cdrom's letter.
a is for primary masters
b is for primary slave
c is for secondary masters
d is secondary slave

If it a scsi cdrom, try

mount -t iso9660 /dev/scdx /mnt/cdrom

X will probably be a number between 0 and 7

/dev/cdrom is a symlink that points to the actual device.

When you know what the actual device is, use

ln-sf /dev/ /dev/cdrom

The floppy drive isn't always autodetected. Insert a floppy and run the command:
mount -t vfat /dev/fd0h1440 /mnt/floppy

If you get another message, keep posting.

PS
Make sure the cd is in the drive when you try to mount it. Same for the floppy

Jim

by eckostar

ok....here is what i got after i tried
what Jim suggested:

mount: wrong fs type, bad option, bad
superblock on hdx

(i did replace x with both b,c, and d.)

What do i do know....??? It worked fine
when i installed and for a little while
after installation but it wont work
know!!! someone please help me.

by fataugie

Jim is right. Where is your CD ROM located? The primary slave? Secondary master? Is it SCSI or IDE? Have you tried mounting the floppy?

here is the correct syntax for mounting a ms dos floppy in drive a which is a 1.44 m drive

mount -t msdos /dev/fd0 /mnt

or a cdrom that is the primary slave unit that is iso9660 format

mount -t iso9660 /dev/hdb /mnt

These are specific examples. Jim's response was more general.

Good Luck

Tony

fataugie@rochester.rr.com

From: jmcintyre
Date: 09/25/00 10:58 AM EDT
Status: Rejected
Points: 0

Try this:
/dev/cdrom may not be pointing to the right place. If it's an IDE cdrom, try:

mount -t is09660 /dev/hdx /mnt/cdrom
where x represents the cdrom's letter.
a is for primary masters
b is for primary slave
c is for secondary masters
d is secondary slave

If it a scsi cdrom, try

mount -t iso9660 /dev/scdx /mnt/cdrom

X will probably be a number between 0 and 7

/dev/cdrom is a symlinkthat points to the actual device.

When you know what the actual device is, use

ln -sf /dev/ /dev/cdrom

The floppy drive isn't always autodetected. Insert a floppy and run the command:
mount -t vfat /dev/fd0h1440 /mnt/floppyIf you get another message, keep posting.

PS
Make sure the cd is in the drive when you try to mount it. Same for the floppy

Jim

by joe

I think that jim was extremely close, but he typed is09660 and its iso9660. that would get the wrong fs type. Try what jim said again (substituting b,c,d for x, etc...) but use "iso" instead of "is0"
I think that its very close to success.

This discussion is closed to new replies.