On Sun, 29 Dec 2002, Thomas A. Hulslander wrote:

> 
> Well, either I have violated some protocol here and am unaware of it or
> it's just that no one has any suggestions for me regarding the problems
> I am having accessing floppy drive. But I will try again because I think
> I may be zeroing in on the source of the problem...

No violated protocols, so don't worry about that.  Perhaps we have all 
been a little busy :-)

> 
> When booting, I notice that no automounts are defined (or something to
> that affect.) I have been into some of the WebMin documentation
> regarding /etc/auto.master, autofs, automount, etc., but it hasn't
> helped.

What do you have in /etc/fstab?  To be quite honest, I haven't used RH in 
quite a while, and I am not sure what /etc/auto.master is all about.  Your 
entry in /etc/fstab for your floppy should look something like this:

/dev/fd0   /mnt/floppy    auto    noauto,rw,user    0 0 


> 
> This is a new machine built by yours truly running Red Hat 8.
> 
> Currently, when I try to access it through shell (mount /mnt/floppy) I
> get the following:
> $ mount /mnt/floppy
> /dev/fd0: Input/output error
> mount: block device /dev/fd0 is write-protected, mounting read-only
> /dev/fd0: Input/output error
> mount: I could not determine the filesystem type, and none was specified
> $
> 
> Do something with the filesystem parameter?

I have had this problem quite a bit with floppy drives, and every time 
(assuming that /etc/fstab and everything else was correct) it has been the 
case that the drive itself has died.  Here is a way to test for that.

Put a new floppy in the drive, and then use the following command to 
create an ext2 file system on it:

mke2fs /dev/fd0

If the above command fails, then the drive itself needs to be replaced.  
If the mke2fs command works, try mounting the new file system with this 
command:

mount -t ext2 -w /dev/fd0 /mnt/floppy 

If the mke2fs command works, but the mount command fails, the drive needs 
to be replaced.  Before you rush out and get a new floppy drive, test it 
with several different floppies first.  It is unfortunate, but floppy 
drives do not have the quality that they used to have...

> 
> More info...
> 
> $ ls /mnt
> cdrom cdrw floppy
> $ ls -l -a /mnt/floppy
> -rw-rw---- 1 Thomas floppy 72603 Aug 31 19:49 /mnt/floppy
> $ ls -l -a /dev/floppy
> lrwxrwxrwx 1 root root 3 Dec 28 11:57 /dev/floppy -> fd0
> 
> And within the /etc/sysconfig/hwconf... (note the "detached" line)
> 
> class: FLOPPY
> bus: MISC
> detached: 1
> device: fd0
> driver: unknown
> desc: "3.5" 1.44MB floppy drive"
> 
> Anyone have suggestions? Thank you all in advance.
> 
> As a footnote, I get the following when trying to manually mount the
> CDROM, but I think that if the filesystem thing is the problem then I
> might be able to fix CDROM at same time I fix floppy:
> 
> Could not mount device.
> The reported error was:
> mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
> or too many mounted file systems

Once again, take a look at /etc/fstab.  The entry for your cdrom ought to 
look something like this:

/dev/cdrom    /mnt/cdrom    iso9660    noauto,ro,user    0 0 

If your /etc/fstab entry looks good, try mounting several different cds.  
Also, try the command manually:

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

hth,
Kevin



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to