LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mounting floppy drive (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-floppy-drive-25253/)

safra 07-07-2002 10:18 AM

mounting floppy drive
 
Hi,

I am trying to mount the floppy drive. First time I tried this, it worked. In the KDE files/folder window I went to the specific folder to mount to, right clicked > create new > floppy drive.

then in the dialog box I chose /dev/fd0 from the 3 options in the device tab.

Now it doesn't work, the option /dev/fd0 doesn't appear anymore as an option in the device tab (only /dev/hda7()swap and /dev/cdrom(/mnt/cdrom)). From the command line I tried:

mount /def/fd0 ~/mnt/floppy

received this message:

/dev/fd0: Input/output error
mount: you must specify the filesystem type

What is going wrong? Did I damage or remove something?

Thanks,

Ron

jpweston 07-07-2002 12:16 PM

If you try to mount a drive from the command line using the mount command, you need to specify the filesystem type. For example, to mount a floppy you formatted in linux, you would type:

Code:

mount -t ext2 /dev/fd0 /mountpoint
You can also use -t auto if you're not sure of the filesystem type on the floppy.

man mount will give you all of the details.

j.

pickledbeans 07-07-2002 12:33 PM

That depends on the distro on Slack you don't have to specify fs type...
Also you have to be root to mount drive/floppy, from the command line/shell prompt

Check you KDE start menu there is probly a floppy tool there

safra 07-07-2002 12:59 PM

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

returns:

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

???

Pickledbeans, except for some formatting tools I can't find anything about mounting floppy's in the KDE start menu

Ron

jpweston 07-07-2002 01:25 PM

safra,

Was the floppy formatted with the ext2 filesystem? If not, then I can see how the mount command used would fail. Try the -t auto option. If you're using Slackware, then, like pickledbeans wrote, you shouldn't need to specify a filesystem type.

Also, make sure you're root when you try to mount the floppy.

j.

SparceMatrix 09-23-2002 04:36 PM

I am having similar problems in Red Hat 7.3.

I can use 'fdformat /dev/fd0' and then try to mount the floppy I just formatted* and I get the same above errors no matter what kind of file type I submit, ext2, ext3. Doesn't matter. I get the same error response,

'mount: wrong fs type, bad option, bad superblock on /dev/fd0, or too many mounted file systems'

If I use 'auto' as file system type, I get the error response,

'mount: you must specify the filesystem type'

*mount -t <fs type> /dev/fd0 /mnt/floppy

hanzerik 09-23-2002 10:22 PM

I dont think fdformat actually formats your floppy.
try:
fdformat /dev/fd0
then:
mkfs.ext2 /dev/fd0 #ext2 filesystem
or
mkfs.vfat /dev/fd0 #Vfat(dos) Filesystem

then try to mount:
mount -t ext2 /dev/fd0 /mnt/floppy
or
mount -t vfat /dev/fd0 /mnt/floppy

hanzerik 09-23-2002 10:24 PM

Oh BTW: dont be in the /mnt/floppy directory when trying to mount a floppy.

SparceMatrix 09-24-2002 11:50 AM

That did it.

It is amazing that the process is so complicated. Only in Linux would it take you a good part of a day to figure out how to make a floppy disk. And not a clue in my Linux Nutshell book.

What's worse is that I thought I had made a boot disk and I hadn't and now I need it.

hanzerik 09-24-2002 12:18 PM

uname -r to get kernel version
mkbootdisk --device /dev/fd0 2.4.18-10 (or whatever your kernel ver is)

http://rpmfind.net/linux/RPM/redhat/....3-1.i386.html


All times are GMT -5. The time now is 11:15 PM.