LinHES Forums
http://forum.linhes.org/

Unable to Mount Floppy Drive - Please Help
http://forum.linhes.org/viewtopic.php?f=11&t=5240
Page 1 of 1

Author:  smheoc [ Fri Jul 08, 2005 4:11 pm ]
Post subject:  Unable to Mount Floppy Drive - Please Help

Ok, I'm setting myself up for some serious flaming, but hopefully someone will be able to help me out (and yes . . . I did do some searching first!!!)

I am trying to mount the floppy drive so I can get some data off an old disk. I have tried:

1)
#mount /mnt/floppy
(can't find /mnt/floppy in /etc/fstab or /etc/mtab)

2)
#mkdir /mnt/floppy
#mount -t auto /dev/fd0 /mnt/floppy
(mount: /dev/fd0 is not a valid block device)

For the record I am running Knoppmyth R5A15.1

Author:  tjc [ Fri Jul 08, 2005 5:00 pm ]
Post subject: 

Do an:
Code:
ls /dev/fd*

You probably want: "/dev/fd0u1440"

I just went through this trying to create a FreeDOS boot disk with the Award Flash utility and an updated BIOS image on it. I seem to remember a time when Linux auto-detected the format of a floppy disk... :?

Author:  smheoc [ Fri Jul 08, 2005 5:10 pm ]
Post subject: 

Thanks for the quick reply. I gave that whirl but alas it did not work.

There are a number of fd*'s, how would I know which one to use? For the record I get same error as before.

Author:  tjc [ Fri Jul 08, 2005 5:21 pm ]
Post subject: 

The numeric part correspond to formatted size, so a standard 3.5" DS/DD 1.44Mb diskette would be /dev/fd0u1440 as I understand it. If there is another 1440 option try that...

Author:  Xsecrets [ Fri Jul 08, 2005 6:00 pm ]
Post subject: 

when did this come about? what happened to the old trusty /dev/fd0 ?

Author:  cesman [ Fri Jul 08, 2005 11:07 pm ]
Post subject: 

It has been like that for a while... /dev/fd0 just linked to it.

Author:  mjl [ Sat Jul 09, 2005 9:20 am ]
Post subject:  Floppy Drive

Hi,
Being basicly conservative on the energy, (lazy) I simply made the fstab happy:)
It shows me the floppy is at /floppy.

/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0

as root, mkdir /floppy
now you can mount /floppy besure to umount /floppy when done so files are closed properly before removing disk.

Hope this helps
Mike

Author:  tjc [ Sat Jul 09, 2005 11:54 am ]
Post subject: 

Even better! ;-)

Sorry, I was answering that without access to my KnoppMyth machine and working from memory and examples on a Mandrake based workstation...

Author:  smheoc [ Sat Jul 09, 2005 7:46 pm ]
Post subject: 

Once again, thanks for the help. I've tried them all, but still no success. Luckily my wife found the file she was looking for on the harddrive, but I will have to address this problem soon.

For the record, this is what I see when I type #mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
none on /proc type proc (rw,nodiratime)
/dev/hda3 on /cache type ext2 (rw)
/dev/hda4 on /myth type ext3 (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)

From root I did the following:
#mkdir /floppy
#mount /floppy
and got this message again:
mount: /dev/fd0 is not a valid block device

Author:  tjc [ Sun Jul 10, 2005 10:54 am ]
Post subject: 

First add the line the mjl described above to your /etc/fstab if it isn't already there:
Code:
/dev/fd0  /floppy  vfat  defaults,user,noauto,showexec,umask=022  0  0

Second make sure you have a corresponding device entry:
Code:
root@black2:~# ls -al /dev/fd0
brw-rw----  1 root floppy 2, 0 May  7  2004 /dev/fd0

If it's missing you'll have to recreate it, but that gets "interesting" because of all the aliases.

Author:  mjl [ Tue Jul 19, 2005 9:03 pm ]
Post subject:  Missed this line

Hi,
This is for smheoc
"mount: /dev/fd0 is not a valid block device"

I must have been asleep that day and missed that line :) Normally that error message occurs if you try to mount the floppy and there isn't a floppy in the drive... You should have no trouble using a standard dos / windows formatted floppy.

Try again. and look for the simple solutions first.

Thanks
Mike

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/