Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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 have the NEC UF0002 external floppy drive. I plugged it into my usb port and the drive activated (light came on for a couple of seconds). I don't know how to mount it so I can access the data.
I'm working with Wine to try to run some old DOS/Windows educational games for my kids. I believe the disks are formatted FAT12 (DOS).
I'm having troubles mounting/reading/formatting my usb floppy drive.
lsusb tells me:
Code:
Bus 001 Device 007: ID 03ee:6901 Mitsumi SmartDisk FDD
dmesg |tail
originally told me:
Code:
[17182848.096000] usb 1-2: new full speed USB device using uhci_hcd and address 3
[17182848.220000] usb 1-2: device descriptor read/64, error -71
[17182849.220000] usb 1-2: new full speed USB device using uhci_hcd and address 5
[17182849.628000] usb 1-2: device not accepting address 5, error -71
If I try
Code:
mount -t vfat /dev/sde /mnt/floppy
mount -t msdos /dev/sde /mnt/floppy
it tells me "can't read superblock"
and after trying to mount as msdos it tells me:
Code:
[17213821.932000] sd 1:0:0:3: SCSI error: return code = 0x8000002
[17213821.932000] sdd: Current: sense key: Medium Error
[17213821.932000] Additional sense: Cannot read medium - unknown format
[17213821.932000] end_request: I/O error, dev sdd, sector 0
[17213821.932000] FAT: unable to read boot sector
Also /dev/fd is a directory with device files so:
Code:
mount /dev/fd0 /mnt/floppy
mount: special device /dev/fd0 does not exist
How do I find / identify the floppy? what should I see / look for/ write in /etc/mtab or /etc/fstab? I just want to format the floppies. I don't care about reading them. It would be nice but not essential.
Thank you for your time.
Because it's usb it's going to get a scsi device name instead of fd0 or fd1, just like a flash drive. So, after inserting a disk, if your drive is sda and your mount point is /mnt/floppy, it would mount like this:
mount -t vfat /dev/sda /mnt/floppy
Donnied, you're getting medium error and boot sector errors. Do you have a [good] disk inserted into the floppy drive? That could explain those. When I get the "device not accepting..." errors with mine I have to move it to a different usb port. One more thing: is uhci correct for your usb controller?
Thank you for the info. It suddenly started (somewhat) working.
Yeah, most of the disks I had weren't very good. So I bought some new ones. They work better but it takes a long time to mount them.
the usb floppy is somewhat working. three questions:
1. every diskette brings up about 5 floppies in /media/ floppy-1, floppy-5.
I'm guessing this is because of the partitions. Is there any neat way to have it appear as just /media/floppy?
(does /mnt/floppy represent all the partitions on the floppy)
2. I'm trying to set up an install of tiny linux (a slackware derivative). I have bare.i. I used
'dd if=bare of=/media/floppy-1/bare.i' to write it to a floppy. So far it's only produced disks that give me a non-system disk or disk error message.
Should this produce a floppy that I can boot from to continue installation?
dmesg | tail now gives me
Code:
unable to read partition table
[17185716.852000] ldm_parse_privhead(): Cannot find PRIVHEAD structure. LDM database is corrupt. Aborting.
All my other usb devices work fine. This is working somewhat. It does write and read files. Just not well. Could it be because it's not the greatest usb > floppy?
would it be worth investing more?
1. every diskette brings up about 5 floppies in /media/ floppy-1, floppy-5.
I'm guessing this is because of the partitions. Is there any neat way to have it appear as just /media/floppy?
I'm not very familiar with Ubuntu, but I would think that these are created automatically with the detection of devices, regardless of how many physically exist. Unless you've partitioned the floppy disk it should be just the floppy-1.
Quote:
I used 'dd if=bare of=/media/floppy-1/bare.i' to write it to a floppy. So far it's only produced disks that give me a non-system disk or disk error message.
dd = duplicate disk - creates or restores an uncompressed image.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.