LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-24-2010, 01:14 PM   #1
Tunababa
LQ Newbie
 
Registered: Nov 2008
Posts: 20

Rep: Reputation: 0
Error mounting usb floppy drive


I'm running the Fedora fc8 (werewolf) and I just bought an external floppy drive from ebay, which I have problem mounting. I've edited the fstab with the following:

Quote:
/dev/floppy-sdb /media/floppy vfat rw,user,noauto 0 0
After inserting the drive into a usb port and run dmesg because the drive is not mounted all, I've the following added to the message log:

Quote:
usb 5-1: new full speed USB device using uhci_hcd and address 2
usb 5-1: configuration #1 chosen from 1 choice
usb 5-1: New USB device found, idVendor=0644, idProduct=0000
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 5-1: Product: TEACV3.0
usb 5-1: Manufacturer: TEACV3.0
Initializing USB Mass Storage driver...
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usbcore: registered new interface driver usb-storage
usb-storage: waiting for device to settle before scanning
USB Mass Storage support registered.
usb-storage: device scan complete
scsi 4:0:0:0: Direct-Access TEAC USB UF000x 3.00 PQ: 0 ANSI: 0 CCS
sd 4:0:0:0: [sdb] 2880 512-byte hardware sectors (1 MB)
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Mode Sense: 00 46 02 00
sd 4:0:0:0: [sdb] Assuming drive cache: write through
sd 4:0:0:0: [sdb] 2880 512-byte hardware sectors (1 MB)
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Mode Sense: 00 46 02 00
sd 4:0:0:0: [sdb] Assuming drive cache: write through
sdb:
sd 4:0:0:0: [sdb] Attached SCSI removable disk
sd 4:0:0:0: Attached scsi generic sg2 type 0
sd 4:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 4:0:0:0: [sdb] Sense Key : Medium Error [current]
sd 4:0:0:0: [sdb] Add. Sense: Id CRC or ECC error
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
Buffer I/O error on device sdb, logical block 1
Buffer I/O error on device sdb, logical block 2
Buffer I/O error on device sdb, logical block 3
I don't know what to do anymore. I need a help.
 
Old 08-24-2010, 01:21 PM   #2
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 317

Rep: Reputation: 73
Quote:
Quote:
Quote:
/dev/floppy-sdb /media/floppy vfat rw,user,noauto 0 0
You are referering to /dev/floppy-sdb. Shouldn't that be just /dev/sdb
 
Old 08-25-2010, 09:33 AM   #3
Tunababa
LQ Newbie
 
Registered: Nov 2008
Posts: 20

Original Poster
Rep: Reputation: 0
Well, I've tried that one as well, that is,
Quote:
/dev/sdb /media/floppy vfat rw,user,noauto 0 0
in the fstab, and it didn't work before using /dev/floppu-sdb.
Even, without editing the fstab file and just using mount command as follows:

Quote:
$ sudo mount /dev/sdb /media/floppy
Password

will never return the bash prompt again, it'll just stocked after entering the password. And pressing the C-z or C-c will never make such terminal prompt comes alive; the only thing that I have to do is close the terminal and re-launch another one.
 
Old 08-29-2010, 06:40 AM   #4
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 317

Rep: Reputation: 73
Quote:
Originally Posted by Tunababa View Post

will never return the bash prompt again, it'll just stocked after entering the password. And pressing the C-z or C-c will never make such terminal prompt comes alive; the only thing that I have to do is close the terminal and re-launch another one.
Make sure you have a formatted floppy in the drive before you try to mount it.


__________________________
Gerrard
 
Old 08-29-2010, 07:12 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390
Hi,

2 things that come to mind:

1) Is there a floppy in the drive. It does not have to be formatted yet, you can do that at a later stage. It would be nice if you do have one that is formatted. As already stated by gdejonge.

The first part of the output you posted in post #1 looks ok. The drive (device) is found, recognized and initialized.
The second part does not look ok (from: sd 4:0:0:0: [sdb] Assuming drive cache: write through onward). This might indicate that there is no floppy present or that the floppy is bad.

2) Your mount command is wrong.

You cannot mount a device, you can only mount a files-system (not entirely true, but it is in this case).

/dev/sdb is the device, which can hold a medium with a file-system which are shown as sdb1 (sdb2 etc). You cannot mount sdb, but you can mount sdb1 (sdb2 etc).

From the command line and probably as root: mount -t fstype /dev/sdb1 /media/floppy (fstype should reflect the file-system used. Examples: ext2, ext3, vfat). If the floppy was formatted using windows the the following would mount it: mount -t vfat /dev/sdb1 /media/floppy

An fstab entry would look like this: /dev/sdb1 /media/floppy auto noauto,rw,user 0 0
The first auto makes sure that the type of file-system is automatically recognized (is it vfat, ext3 etc).

I'm assuming that there is no floppy present (or a bad one) in your floppy drive.

Hope this clears things up a bit and helps.

Last edited by druuna; 08-29-2010 at 07:28 AM. Reason: Fixed a mistake.
 
Old 09-01-2010, 03:14 PM   #6
Tunababa
LQ Newbie
 
Registered: Nov 2008
Posts: 20

Original Poster
Rep: Reputation: 0
Okay, thanks.
But the floppy is not formated in anyway; it's a set of floppys that I once used on Windows with formatting (when I was yet to be good at computing). I just sticked them into the floppy drive and I's able to stored and read files without special format.
Now, even on windows systems that have floppy, the data can't be read, the only option I was given is to format the disk, which would erase everything that I has on them.
The data on it are ms-word files and some visual cpp files, which I am thinking that openoffice and emacs should be able to open.
As per the device issue, even when I *cd /dev* all what was found is the device,sdb, there is no specific filesystem as, sdb1, showing, but I appreciate your comments.
Now, is it because the filesystem is bad was the reason it is not mountable or what? And if the answer is yes, then how can I recover my files, they are precious?
thanks,
 
Old 09-01-2010, 03:38 PM   #7
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390
Hi,

I think the disk(s) are too worn out over time to still be readable. With worn out I do not necessarily mean used. Floppy disks are just thin layers of magnetic material, the magnetism itself can degrade over time.

There is no easy way to get the data of those disk, if that is possible at all.....

There are companies that specialize in recovering data from old/damaged disks, don't know what that will cost you, but if the data is important enough it is an option.
 
Old 09-01-2010, 03:42 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,322

Rep: Reputation: 1905Reputation: 1905Reputation: 1905Reputation: 1905Reputation: 1905Reputation: 1905Reputation: 1905Reputation: 1905Reputation: 1905Reputation: 1905Reputation: 1905
Floppies are not partitioned and so should be mounted as /dev/sdb and not /dev/sdb1. I even have a couple of Imation flash drives that do not have a partition table.

Floppy disks can and do fail. If it is not recognized even on a different drive on a windows PC then either the disk is bad, the USB drive is bad or maybe the drive damaged the disk. I assume that the reason the command appeared to hang from your post #3 was the drive was having problems reading the disk and if you had waited long enough would of failed with an error message.

Assuming the drive is good then you can try photorec or testdisk to attempt to recover the files.

FYI all floppies are formated. They just come formated from the factory.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
damn small linux error: mounting cd-rom & floppy (probably also usb) lenou Linux - Newbie 15 01-16-2010 12:54 PM
External USB hard drive auto-mounting error (dbus) digimaus Slackware 1 11-29-2009 03:49 PM
Difficulty Mounting USB Floppy Drive JasonC10203 Linux - Newbie 7 09-12-2007 10:42 PM
Mounting a USB Floppy drive? SlowCoder Linux - Hardware 9 03-13-2007 06:57 PM
error mounting usb drive dsids Linux - General 3 06-14-2006 07:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration