LinuxQuestions.org
Review your favorite Linux distribution.
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 06-15-2013, 01:53 PM   #1
Disket
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Rep: Reputation: Disabled
Mounting 1.72MB MS-DOS floppy (USB drive)


Hi all,

I am becoming crazy trying to mount a 1.72MB MS-DOS floppy (USB drive) using different live Linux distros.

I've tried with many live distro (DSL,Puppy,VectorLinux...) and I've the sane problem.

Could you help me please ?

Thanks.

For example with VectorLinux I tried with no success:

root:# mknod /dev/fd0u1722 b 2 60
root:# ls /dev/f*
/dev/fb@ /dev/fb0 /dev/fd@ /dev/fd0u1722 /dev/full /dev/fuse
root:# mkdir
/mnt/floppy
root:# mount -t vfat /dev/fd0u1722 /mnt/floppy
mount: /dev/fd0u1722 is not a valid block device

What is missing ?


A few more information...

I read a 1.44MB floppy if it is in the USB external drive when VL is booting from USB live(in fact SD card).
It is mounted at /mnt/sdc

In /etc/fstab I have this line that I don't have if no floppy in drive at boot time.
/dev/sdc /mnt/sdc vfat auto,noatime,users,suid,dev,exec,quiet,umask=0,check=s,shortname=mixed 0 0 # AutoUpdate

If I put a 1.72MB floppy at boot time in the drive it is mounted like the 1.44MB one but access is very very slow and odd file names are dispayed on the floppy.

How can I mount it correctly ?

I've googled a lot with no success...


Best regards

Disket
 
Old 06-15-2013, 02:18 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,841

Rep: Reputation: 225Reputation: 225Reputation: 225
If that's an external USB drive then find out where it is and mount the file system
lsblk, or as root parted -l, or fdisk -l will show you where it is. Then mount it.
Code:
mount -t vfat /dev/sdb1 /mounting/point
udisks should be able to mount it also.
Code:
udisks --enumerate
udisks --show-info /dev/sdb
udisks --mount /dev/sdb1
As far as a 2MB floppy, I've never used them.

Last edited by teckk; 06-15-2013 at 02:21 PM.
 
Old 06-15-2013, 02:28 PM   #3
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,412

Rep: Reputation: Disabled
1.72 Mb is a non-standard format, and may not be readable by USB floppy drives.

A standard 1.44 Mb floppy has 80 tracks and 18 sectors per track. Several non-standard formats exist that employ various techniques to fit more data on the same, physical disk. The most common is perhaps Microsoft's DMF ("Distribution Media Format") which adds three extra sectors per track for a total capacity of 1,720,320 bytes. A similar format adds two extra tracks for a total capacity of 1,763,328 bytes. Your 1.72 Mb disks are probably using one of those formats.

USB floppy drives do not usually support all the low-level commands of a standard floppy controller. In particular, tracks above track 80 are almost always inaccessible, and most drives cannot actually perform a low-level format at all.

It is entirely possible that your drive is only capable of reading sectors 1-18, in which case you will never be able to read any of the non-standard floppy formats. In that case, you will need a PC with a regular floppy controller and drive.
 
Old 06-15-2013, 03:45 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,985

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
also no current linux kernel even looks for a floppy drive on boot any longer
the older RHEL 5.9 ( or CentOS 5.9 ) still dose , but not the current RHEL 6.4

you have to run "modprob" as root first
for the current OS's to even see the 3.5 in floppy drive
 
Old 06-15-2013, 08:09 PM   #5
Disket
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi!

According to what I've read on the web, I have to use/create a special device defined in devices.txt like fd0u1722 .

But why this doesn't work ???

Quote:
root:# mknod /dev/fd0u1722 b 2 60
root:# ls /dev/f*
/dev/fb@ /dev/fb0 /dev/fd@ /dev/fd0u1722 /dev/full /dev/fuse
root:# mkdir
/mnt/floppy
root:# mount -t vfat /dev/fd0u1722 /mnt/floppy
mount: /dev/fd0u1722 is not a valid block device
What is missing ?

Any mknod expert in the room ?

Regards,

Disket
 
Old 06-15-2013, 09:59 PM   #6
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Quote:
Originally Posted by Disket View Post
What is missing ?
post dmesg
 
Old 06-15-2013, 11:09 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,985

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
as above the 1.72 diskette might be fun
but ...

for mounting a STD 1.44 3.5 in disk
Code:
su -
--- your root pass ---
modprobe  
--- wait for the drive to ZZ-ZZ and click ---
--- pop in the diskette ---
mkdir /mnt/floppy 
mount /dev/fd0 /mnt/floppy
 
Old 06-16-2013, 02:11 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,245

Rep: Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624
It does not work because fd0u1722 is looking for a legacy floppy disk controller. That is what the 2 means in the mknod command. As Ser Olmy already stated it may not be possible.
 
Old 06-16-2013, 04:41 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,665

Rep: Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258
See if you can dd the drive to an image?

I'd assume most drives can read that format but not all can. The ones that can use 2.88 would work. There was some web page that had listings of drives that could do this.

What is this disk, a Tom's boot disk or Barts disk?
 
  


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
Error mounting usb floppy drive Tunababa Linux - Newbie 7 09-01-2010 03:42 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
Permanatly mounting a dos drive? hughgjohnson Linux - Newbie 5 06-13-2005 04:46 PM
Floppy Drive 5 1/4... old ms-dos!?? FreakboY Linux - Hardware 8 06-22-2004 12:54 PM


All times are GMT -5. The time now is 07:47 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