LinuxQuestions.org
Help answer threads with 0 replies.
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-18-2002, 05:52 PM   #1
allnight
LQ Newbie
 
Registered: Feb 2002
Posts: 4

Rep: Reputation: 0
Angry /dev/fd0 is not a valid block device


I'm running RedHat7.2 on a Dell 333 machine. I just installed the OS a couple of days ago, and just tried to use the floppy for the first time.

(everything done as root on the console)

When I run "mount /mnt/floppy", I get "mount: /dev/fd0 is not a valid block device".

ls -l on /dev/fd0 shows:
brw-rw---- 1 root floppy 2, 0 Feb 18 14:41 /dev/fd0

As you might notice, it's dated an hour ago. that's because I tried running 'MAKEDEV fd0' a little while ago, but still no luck.

No combination of mount options works, and lsof says neither /mnt/floppy or /dev/fd0 are open.

mount -t msdos /dev/fd0 /mnt/floppy fails the same way, and if I create a new directory in / and try that, same thing.

Any ideas anybody?

I've searched all over the net, and the only solution I've run across to this was to reinstall the OS. I don't have the time to do that, as I can just retype the files I need off the box, or install an ftp server to xfer them elsewhere, but that's low on my priority list.

The other significant thing I found was kernels that don't have floppy support built in, but this does, because /var/log/messages shows messages from the kernel about fd0 being a 1.44, FDC 0 is a National Semiconductor PC87306.

Help! Please!!!!!
 
Old 02-18-2002, 06:14 PM   #2
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Try mount -t vfat /dev/fd0 /mnt/floppy
 
Old 02-18-2002, 07:16 PM   #3
Malicious
Member
 
Registered: Jan 2002
Location: Galveston Island
Distribution: suse, redhat
Posts: 208

Rep: Reputation: 30
Is the diskette formatted with DOS/Windows? If so try the mtools. Should be installed on RedHat. Sort of like dos commands.

mdir a:

also has mcopy and mformat to work with dos disks.
 
Old 02-19-2002, 03:45 AM   #4
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
This may or may not work. Try running as root depmod -ae.
 
Old 02-21-2002, 12:22 AM   #5
allnight
LQ Newbie
 
Registered: Feb 2002
Posts: 4

Original Poster
Rep: Reputation: 0
Wierd...started working

I'm completely at a loss.

After I posted the beginning of this thread, I found something that said you will get this message when there's no floppy in the drive. Duh. Well, the floppy was in the drive.

I tried 'mount -t msdos /dev/fd0 /mnt/floppy', I tried /dev/fd1, /dev/fd2 and /dev/fd3. /dev/fd1 never returned, I hit ctrl-c after nearly 10 minutes.

I took the floppy to another identical machine (same hardware, OS) and the simply 'mount /mnt/floppy' worked. I copied some files to the floppy, took the floppy to another machine (I was in the middle of setting up mutliple firewalls and dns servers, so just copying working configs around), and everything was fine.

The next day, I stuck the same floppy back into the problem machine, and 'mount /mnt/floppy' worked. I just about fell over. The machine had not been rebooted or reconfigured in any way, it just answered a bunch of dns queries. I got the files off that I wanted via ftp to an intermediate machine whose floppy worked.

So, bottom line is, it seems to be working now, and for no good reason. As far as I know, it was fixed by having the machine's uptime counter cross 24 hours. Ugh.
 
Old 02-21-2002, 12:41 AM   #6
Malicious
Member
 
Registered: Jan 2002
Location: Galveston Island
Distribution: suse, redhat
Posts: 208

Rep: Reputation: 30
Just out of curiosity, what does the /dev/fd0 line in the /etc/fstab look like? In particular, what is the file type?
 
Old 02-21-2002, 12:55 AM   #7
allnight
LQ Newbie
 
Registered: Feb 2002
Posts: 4

Original Poster
Rep: Reputation: 0
I don't have access to it right now...but it's the standard RedHat 7.2 line...I don't think it specifies the fstype.

At any rate, all of the 5 or 6 machines I've got RH on were built from the same RH cds, so they all have the same fstab.
 
Old 02-21-2002, 08:42 PM   #8
yeltsew
LQ Newbie
 
Registered: Feb 2002
Posts: 1

Rep: Reputation: 0
Same Problem

I have been having a similar problem with fd0. I have tried to manually mount the floppy drive, update the kernel, and look in /etc/fstab. There are no lines that point to /dev/fd0 in fstab. From what I have been reading, this is a known problem with Redhat 7.2. Any solutions would be appreciated, as I have been working on this problem for a couple of days now (and am wondering if I REALLY need a floppy at all)
 
  


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
Post subject: mount /dev/fd0 is not a valid block device lil_becky Debian 3 05-16-2008 02:25 PM
/dev/fd0 is not a valid block device intmail Slackware 2 07-21-2005 06:52 AM
mount: /dev/fd0 is not a valid block device natsudarshan Linux - Newbie 5 09-23-2004 03:13 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 05:23 PM.

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