VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: VL6.0 live: mounting 1.72MB floppy (USB drive)  (Read 1432 times)

Disket

  • Member
  • *
  • Posts: 3
VL6.0 live: mounting 1.72MB floppy (USB drive)
« on: June 15, 2013, 07:52:28 am »

Hi all,

I am becoming crazy trying to mount a  1.72MB MS-DOS floppy (USB drive) in VL 6.0 live.  >:(

Even 1.44MB will not mount.

Could you help me please ?

Thanks.

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 ?

Best regards

Disket
Logged

Disket

  • Member
  • *
  • Posts: 3
Re: VL6.0 live: mounting 1.72MB floppy (USB drive)
« Reply #1 on: June 15, 2013, 09:55:50 am »

Hi again!

A few more information...

Now I can 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...   :'(

Regards

Disket


Logged

roarde

  • Vectorian
  • ****
  • Posts: 625
  • move the needle
Re: VL6.0 live: mounting 1.72MB floppy (USB drive)
« Reply #2 on: June 15, 2013, 12:15:04 pm »

Not sure how live 6 handles it, but try this:
Leave the floppy out at boot. Wait for a complete boot, then insert a 1.72. If the drive shows activity, wait a bit then do just "mount" and see if the drive is listed. If that doesn't work, try unplugging the drive, insert the floppy, then plug the drive back in.

If the drive is listed in "mount", but doesn't work right, "umount /dev/sdc"  then try what's below.

If it still doesn't work, use a 1.72:
Code: [Select]
root:# ls /mnt/floppy || mkdir /mnt/floppy     # I think /mnt/floppy is already there, but create it if it isn't
root:# mount /dev/sdc /mnt/floppy    #mount should be able to detect the filesystem type

If the filesystem type isn't detected, mount the 1.72 read only as a test:
Code: [Select]
root:# mount -r -t ext2 /dev/sdc /mnt/floppyIf this works well, try it without "-r" to mount it read/write.

I don't remember seeing a 1.72MB msdos formatted floppy. I think it's ext2. If I'm wrong about that, I'm out of ideas.
Later Edit:
I see there are several ways of doing an "msdos" 1.72. Some created by ms software, some by linux tools. Seems the best way to handle these is mtools. "which mdir" is a way to check to see if mtools is installed; don't know if it is on 6 live. "info mtools", or if you don't like info (I don't), here's mtool's info entry online:  https://www.gnu.org/software/mtools/manual/mtools.html. Mtools won't be configured for /dev/sdc by default, so look at the "Configuration" section of the info entry.

You can probably get the filenames straightened out, but most floppy formats larger than 1.44M run only half as fast as 1.44. It will be slow.

I do wonder how VL7.0-STD-GOLD-LIVE would handle it.
« Last Edit: June 15, 2013, 01:07:19 pm by roarde »
Logged
Robert
VL 7.1 Light

Disket

  • Member
  • *
  • Posts: 3
Re: VL6.0 live: mounting 1.72MB floppy (USB drive)
« Reply #3 on: June 15, 2013, 01:17:03 pm »

Hi Roarde

Thanks for your suggestions.
Alas the floppy is always badly mounted: its content is undecypherable

Boot with nothing in the drive:

Code: [Select]
root:# mount
aufs on / type aufs (rw)
/dev/sda1 on /mnt/sda1 type fuseblk (rw,noatime,allow_other,blksize=4096)
/dev/sda2 on /mnt/sda2 type fuseblk (rw,noatime,allow_other,blksize=4096)
/dev/sda3 on /mnt/sda3 type vfat (rw,noatime,quiet,umask=0,check=s,shortname=mixed)
/dev/sdb1 on /mnt/sdb1 type vfat (rw,noatime,quiet,umask=0,check=s,shortname=mixed)

Unplug then plug USB drive with a 1.72MB floppy inside

Code: [Select]
root:# mount
aufs on / type aufs (rw)
/dev/sda1 on /mnt/sda1 type fuseblk (rw,noatime,allow_other,blksize=4096)
/dev/sda2 on /mnt/sda2 type fuseblk (rw,noatime,allow_other,blksize=4096)
/dev/sda3 on /mnt/sda3 type vfat (rw,noatime,quiet,umask=0,check=s,shortname=mixed)
/dev/sdb1 on /mnt/sdb1 type vfat (rw,noatime,quiet,umask=0,check=s,shortname=mixed)
/dev/sdc on /mnt/vl-hot/sdc/vol type msdos (ro,noexec,nosuid,nodev,noatime,uid=0,gid=100,fmask=0111,dmask=0000,quiet)

msdos type has been well identified  :)

Manual umount/mount

Code: [Select]
root:# mount
aufs on / type aufs (rw)
/dev/sda1 on /mnt/sda1 type fuseblk (rw,noatime,allow_other,blksize=4096)
/dev/sda2 on /mnt/sda2 type fuseblk (rw,noatime,allow_other,blksize=4096)
/dev/sda3 on /mnt/sda3 type vfat (rw,noatime,quiet,umask=0,check=s,shortname=mixed)
/dev/sdb1 on /mnt/sdb1 type vfat (rw,noatime,quiet,umask=0,check=s,shortname=mixed)
/dev/sdc on /mnt/floppy type vfat (ro)

We have to explicitly tell VL the floppy is 1.72MB that is why I tried to use mknod with fd0u1722 parameters.
But it is very tricky !!!
Do you think VL 7.0 could do better?  ??? not sure...


Regards
 
Disket
Logged

roarde

  • Vectorian
  • ****
  • Posts: 625
  • move the needle
Re: VL6.0 live: mounting 1.72MB floppy (USB drive)
« Reply #4 on: June 15, 2013, 01:27:00 pm »

I'm thinking the problem may be with vl-hot. Umount and have a look at mtools. Don't know whether you replied before or after I edited my previous post.

7.0 might do better here, maybe not. I don't think it uses vl-hot, but it's only my guess that its configuration is the problem.
Logged
Robert
VL 7.1 Light