LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-18-2005, 11:00 AM   #1
Oh Cisco
Member
 
Registered: Jul 2004
Location: Phoenix
Distribution: debian etch
Posts: 95

Rep: Reputation: 15
Can't read msdos floppy


I must not be asking Google the correct words. What do I need to have installed to read a msdos formatted floppy?

I can format a floppy (superformat), I can read that same floppy and the windows computer can read the floppy that is superformated. But, I cannot read a windows formatted floppy in the linux computer.

Can someone help or at least point me in the right direction.
 
Old 01-18-2005, 11:48 AM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
You need to mount floppies before Debian can read them. (See "man mount".) For mounting floppies you need to have a line for /dev/fd0 in your /etc/fstab and to mount floppies as a normal user you need to belong to the "floppy" group. You also need to unmount the mounted floppy before taking it off, so you won't lose any data.

Or you can install mtools, which can read vfat formatted floppies without mounting. (After installation check out "man mtools".) You can also format floppies with mtools easily: just type
Code:
mformat a:
from the command line. Also, there's a special file manager for mtools, called MToolsFM and you can install both mtools and MToolsFM with a single command:
Code:
apt-get install mtoolsfm
Hope this helps.
 
Old 01-18-2005, 11:57 AM   #3
Oh Cisco
Member
 
Registered: Jul 2004
Location: Phoenix
Distribution: debian etch
Posts: 95

Original Poster
Rep: Reputation: 15
Thanks,


MToolsFM reads the msdos formatted floppy just fine, how come xfe cannot. Xfe says "could not determine the filesystem type".
 
Old 01-18-2005, 12:40 PM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
I think Xfe reads your fstab to mount floppy disks, so you should probably check /etc/fstab if you prefer to mount with Xfe. Check that the <mount point> directory mentioned in fstab (something like /media/floppy0) actually exists. If it doesn't exist, you need to create it.
 
Old 01-18-2005, 01:48 PM   #5
Oh Cisco
Member
 
Registered: Jul 2004
Location: Phoenix
Distribution: debian etch
Posts: 95

Original Poster
Rep: Reputation: 15
Here is my /etc/fstab

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdb /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/hdc /media/cdrom1 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
 
Old 01-18-2005, 01:59 PM   #6
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Make the last line look like this:
Code:
/dev/fd0 /media/floppy0 vfat rw,user,noauto 0 0
 
Old 01-18-2005, 02:17 PM   #7
Oh Cisco
Member
 
Registered: Jul 2004
Location: Phoenix
Distribution: debian etch
Posts: 95

Original Poster
Rep: Reputation: 15
Deadparrot your a genius,
now for another question why did that make a difference it would seem to me that auto would encompass all formats, or am i mistaken.
 
Old 01-18-2005, 03:07 PM   #8
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
I don't know the details but mounting arbitrary "auto" filesystem only seems to work as the root user. Normal users need to specify a filesystem or else mount won't work.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount msdos floppy disc in Mandriva rescue mode adrenaline_NZ Mandriva 2 08-03-2005 04:50 PM
Utility to make a msdos boot floppy in linux? dr_zayus69 Linux - Software 1 03-23-2005 07:39 AM
how to format a floppy(msdos) in mandrake? coolamit78 Linux - Software 1 05-31-2004 02:11 PM
msdos formatted floppy showing 8.3 filenames sridharinfinity Slackware 1 03-04-2004 09:25 AM
cann't a user other than root mount msdos formated floppy justjha Linux - Newbie 3 01-24-2001 09:54 AM


All times are GMT -5. The time now is 01:20 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration