LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-05-2002, 01:48 AM   #1
vwhk
Member
 
Registered: Dec 2001
Posts: 31

Rep: Reputation: 15
Unhappy mount fd0


HI All,

Problems on mount floppy at Redhat 7.2 ...

type "mount /dev/fd0 /mnt/floppy" which returns error message
"/dev/fd0: Input/output error
mount: block device /dev/fd0 is write-protected, mounting read-only
/dev/fd0: Input/output error
mount: you must specify the filesystem type", even I specify filesystem type.

But I can do it at Redhat 7.1 with same commands and floppy, someone can help me ... thanks

CHEERS
 
Old 02-05-2002, 05:38 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
doo doo dooooooo a train across the floor

well, you should only need an fstab entry like...

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

to haev it working normally, can you not just mount it without the dev reference?
 
Old 02-05-2002, 08:47 AM   #3
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
Smile

Or try:-

mount -t msdos /dev/fd0 /mnt/floppy

for a dos floppy else put ext2 etc in place of msdos

u must be root for this

Last edited by Lazarus; 02-05-2002 at 08:48 AM.
 
Old 02-06-2002, 02:53 AM   #4
vwhk
Member
 
Registered: Dec 2001
Posts: 31

Original Poster
Rep: Reputation: 15
HI,

I have tried

"mount /dev/fd0 /mnt/floppy" which shows
/dev/fd0: Input/output error
mount: block device /dev/fd0 is write-protected, mounting read-only
/dev/fd0: Input/output error
mount: you must specify the filesystem type

"mount -t ext2 /dev/fd0 /mnt/floppy" which shows
mount -t ext2 /dev/fd0 /mnt/floppy
mount: block device /dev/fd0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/fd0,
or too many mounted file systems

"mount -t msdos /dev/fd0 /mnt/floppy" which shows
mount: fs type msdoc not supported by kernel

Is there a device malfunction or something else.

CHEERS
 
Old 02-06-2002, 03:10 AM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
put in a floppy with nothing good on it and do this

/sbin/mke2fs /dev/fd0



then mount /dev/fd0
 
Old 02-06-2002, 03:13 AM   #6
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Try mounting with type vfat. Or enable the support for msdos file systems in your kernel. Often loading the module is enough.
 
Old 02-06-2002, 08:14 PM   #7
vwhk
Member
 
Registered: Dec 2001
Posts: 31

Original Poster
Rep: Reputation: 15
It is me again ...

I do that "/sbin/mke2fs /dev/fd0" which returning


mke2fs 1.23, 15-Aug-2001 for EXT2 FS 0.5b, 95/08/09
/sbin/mke2fs: Device size reported to be zero. Invalid partition specified, or
partition table wasn't reread after running fdisk, due to
a modified partition being busy and in use. You may need to reboot
to re-read your partition table


I also reboot and do this again but it is same error.

CHEERS
 
Old 02-06-2002, 08:41 PM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
make sure the floppy is not write protected


fdformat /dev/fd0


mke2fs /dev/fd0


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

umount /mnt/floppy

put acid's line in fstab

mount /dev/fd0

enjoy


Last edited by DavidPhillips; 02-06-2002 at 08:43 PM.
 
Old 02-06-2002, 10:38 PM   #9
ryanstrayer
Member
 
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250

Rep: Reputation: 30
If it helps any...I get I/O errors on floppies all the time.. but it still mounts them.. but doesn't tell you. It has something to do with the format.. if I reformat them with ext2 - it fixes the problem. For some reason, it doesn't like some floppies and the way the were formated on a Windows machine or wherever.
 
Old 02-07-2002, 01:16 PM   #10
jfshadow
Member
 
Registered: Feb 2002
Location: Amarillo, Texas
Distribution: Slackware 9.1 (desktop) / WinXP w/VMware linux dev/Tawie Server Linux (TSL) 2.0 (servers)/ LFS (dev)
Posts: 47

Rep: Reputation: 15
I am having the same problem as VWHK.

I am using an IBM Thinkpad 360cse w/ SuSE 7.0.

my fstab entry is as follows:
/dev/fd0 /floppy auto noauto,rw,user,defaults 0 0
and was generated by yast.

After typing 'mount /floppy' the following errors occurs:
/dev/fd0: Input/output error
mount: /dev/fd0 is not a valid block device

I've tried manually mounting it several ways...to no avail. Also tried to list the contents of /floppy too just in case it actually did mount, but it didn't.

The floppy doesn't appear to have anything wrong with it since it works in DOS perfectly. I have installed off of this SuSe cdrom onto a desktop machine and didn't have any problems mounting the floppy, which made me think that it was a laptop issue.

I tried your idea, DavidPhillips, to '/sbin/mke2fs /dev/fd0' and got a message similar to VWHK's:

mke2fs 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
/sbin/mke2fs: Device not configured while trying to determine filesystem size

Looking at a portion of the message 'trying to determine filesystem size' makes me feel that during the install, the installer was unable to tell the what size of the floppy drive is (1.44M, 2.88M, etc...).

What I'm wondering now is if anybody knows where the config file would be that holds that information?..

I've seen an innumerable amount of posts dealing with this type of problem, surely there's a way to fix it.

I'll keep an eye on this string to see if anybody knows where the file is to change the settings for the floppy, and will begin looking myself.
 
Old 02-07-2002, 04:51 PM   #11
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Normally this means the kernel failed to reread the partition table after running fdisk


you may have to reboot to fix it.
 
Old 02-07-2002, 09:51 PM   #12
vwhk
Member
 
Registered: Dec 2001
Posts: 31

Original Poster
Rep: Reputation: 15
HI,

I try idea of Davidphillips "fdformat /dev/fd0" which shows "/dev/fd0: Read-only file system".

I do normally ... I use same cdrom of RH7.2 install on other COMPAQ PC and it just easy mount floppy (same floppydisk) with "mount /mnt/floppy"

CHEERS
 
Old 02-08-2002, 12:27 PM   #13
jfshadow
Member
 
Registered: Feb 2002
Location: Amarillo, Texas
Distribution: Slackware 9.1 (desktop) / WinXP w/VMware linux dev/Tawie Server Linux (TSL) 2.0 (servers)/ LFS (dev)
Posts: 47

Rep: Reputation: 15
In answer to DavidPhillips:

It still doesn't work even with reboots.

Subsequently, I had monkey linux on this laptop before installing SuSE, and had the same exact problem. I thought it was just a glitch with that small version of linux but it appears to be much bigger than that...

Any other ideas ???
 
Old 02-08-2002, 03:48 PM   #14
phil1076
Member
 
Registered: Oct 2001
Location: Grand Cayman
Distribution: RH 9.0
Posts: 96

Rep: Reputation: 16
How about:

mount /mnt/floppy


works for me.
 
Old 02-08-2002, 03:52 PM   #15
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
are you sure that your drive IS fd0? mine isn't i use /dev/fd0H1440 cos my floppy is crap and old.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount:/dev/fd0 is not a valid block device yat Linux - General 2 11-26-2010 11:45 AM
mount: /dev/fd0 is not a valid block device natsudarshan Linux - Newbie 5 09-23-2004 03:13 PM
/dev/fd0 gone! I can't mount floppy! robbow52 Debian 7 08-06-2004 04:35 PM
Floppy at /dev/fd0 won't mount Borg Swarm Linux - Hardware 4 01-20-2004 06:48 PM
mount /dev/fd0 is not a valid block device jolly_good2000 Linux - Hardware 12 07-31-2003 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration