Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.