LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Floppy Mounting Issues in Red Hat 4 (https://www.linuxquestions.org/questions/linux-newbie-8/floppy-mounting-issues-in-red-hat-4-a-490704/)

dheroan 10-08-2006 09:47 PM

Floppy Mounting Issues in Red Hat 4
 
So I'm pretty much completely new to Linux, and I've been using Red Hat 4 with the GNOME GUI. I was transferring some information to a floppy (formatted for Windows) and everything was going well. There was a 'floppy' icon on the desktop that I'd been using to access the floppy disk, and I didn't have to mount it before I could use it or anything. Then, without thinking, I right-clicked on the icon and selected 'unmount'. Apparently, I was supposed to select 'Eject Device' or something instead. So then my pretty little floppy icon disappears and everything goes to hell.

I put the floppy back in the drive and right-clicked on the floppy icon in Computer. I selected Mount Volume, and I got an error saying 'You must specify a filesystem.'. So I thought bone this, I'm going to the console. I go to the console and type in;

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

Same error. I also tried 'auto' instead of 'msdos', because that's what it said next to /dev/fd0 in /etc/fstab. I also tried '/mnt' instead of '/media/floppy' (though '/media/floppy' was what was in /etc/fstab). I also tried '/mnt/floppy'. I also tried whacking myself repeatedly over the head with the keyboard.

Any ideas?

blackhole54 10-09-2006 12:09 AM

First, stop whacking yourself in the head with the keyboard. You'll damage the keyboard! ;)

I don't know about the rest of your problems, but the console command you gave was basically correct, with the following observations:
  • You might be fighting an automounter, with unknown (to me) consequences. If you want to use the console command, you might try figuring out which process the automounter is and killing it.
  • The form of the mount command you gave can only be done as root. My experience, however, is that if you try otherwise, it immediately tells you that.
  • Instead of msdos I would recommend vfat. As I understand it, msdos does not understand long file names and perhaps some other things.
  • auto should work if the system can determine the filesystem.
  • The -t option does specify the filesystem. The fact that it claims you still need to specify makes me wonder if there was a typo or missing space, or if this is the result of fighting with the automounter.
Another possibility if RH has it is the "mtools" such as mdir, mdel, mformat, and others which work similar to (but check their man pages for differences) their MS counterparts.

It is possible that your original misadventure (possibly through no fault of your own) screwed up the disk. You might try with a different floppy -- I'd use one that doesn't contain anything important until you figure out what is going on.

Good luck.

dheroan 10-09-2006 03:07 AM

Thanks for your response!

Even though I did try the same thing with another floppy to see if the first one had corrupted, I think that both of them must have been corrupted. Because, at my wit's end, I tried a third... And miraculously it worked, and I was able to mount it.

So who knows.

Thanks again for your suggestions. =)


All times are GMT -5. The time now is 09:05 AM.