unable to mount floppy drive

Asked by Lorenzo Tom James

I am in the exact same situation as Lee Kirt (2010-06-30) with 10.04 inability to mount the floppy despite the fact of signs of a proper working floppy disk. since the depth and scope of this problem is fairly wide as deep,can the fix,if any,be released as a update or upgrade?A lot of us are still using our floppies!

Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
delance
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Try running:

sudo mkdir /media/floppy0; gksudo gedit /etc/fstab

add this line:
/dev/fd0 /media/floppy0 auto rw,noauto,user,sync 0 0

Save the new file and reboot, when you slam in a floppy run:

sudo mount -a

you MUST remember to safetly eject the floppy before jacking it out of the drive or you'll get issues.

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#2

When I run and enter first and added line of suggested fix, I received the output COMMAND NOT FOUND.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

You need to report here which command you type and the error you get (copy and paste from terminal) we cannot guess...!

Thank you

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#4

I am new to computing and even newer to ubuntu,lack the knowledge to copy/paste from terminal to this location.However this is what transpired:Based on suggested fix of (2010-07-26),allow mounting of floppy drive,I ran the following command:sudo mkdir/media/floppy0; gkedit/etc/fstab and added the fllowing line:/dev/fdo/media/floppy0 auto rw,noauto,user,sync 0 0
The terminal responded with:
lorenzo@lorenzo-desktop:~$sudo mkdir/media/floppy0;gkedit/etc/fstab/dev/fd0/media/floppy0 auto rw,noauto,user,sync 0 0
[sudo password for lorenzo:
sudo: mkdir/media/floppy0:commamd not found
bash:gksudo/etc/fstab/dev/fdo/media/floppy0:no such file or directory

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Be sure to type carefully and take care of spaces...

open a Terminal from the menu Applications->Accessories->Terminal

Tip: right click with mouse on the terminal title caption and select the item "Always on Top" doing this you will force the terminal window to stay on top of the other windows and you will find very easy to copy single row from this web page into the terminal...
Something more about using the terminal https://help.ubuntu.com/community/UsingTheTerminal

Then type or better copy and paste a row a time then press enter:
(Tip: select the single row to copy then right click into the terminal and to quick paste click with middle button of mouse )

To copy the row below and to paste into a terminal:
1) put the mouse cursor on the left of the row before the s of sudo word then hold and keep hold the left button of mouse and follow the row from s to the end of row to select it
2) release the right button and click the right button of the mouse a menu come in front of you select the copy item and click with left button of mouse
3) now click into area of the terminal window and then click on the rigth button of nouse and select paste

sudo mkdir /media/floppy0; gksudo gedit /etc/fstab

give your user password when requested, you don't see nothing when you type it, then press enter.

Then in the just opened file at the end of it in a separate row add this line (copy from here and paste into window file):

/dev/fd0 /media/floppy0 auto rw,noauto,user,sync 0 0

Save the new file and reboot, when you slam in a floppy run:

sudo mount -a

Please try..

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Make sure you add the spaces, if you compare the command you used to mine there are spaces which are significant and necessary.

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#7

lorenzo@lorenzo-desktop:~$ sudo mount -a
[mntent]: line 12 in /etc/fstab is bad
lorenzo@lorenzo-desktop:~$
In response to marcobra 23 hrs.ago:
After copying/pasting the commands as instructed,upon reboot,placing floppy in drive and running
sudo mount -a command(which I paste-in)from this location,the terminal responded with the ABOVE output

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#8

please give us the result of this command:

cat /etc/fstab

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#9

lorenzo@lorenzo-desktop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda9 during installation
UUID=5f3a91b2-e8a4-459a-ae7d-e656242b0960 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda10 during installation
UUID=c81961bd-75de-4eb3-bcaf-c86007e5b1ad none swap sw 0 0/dev/fd0 /media/floppy0 auto rw,noauto,user,sync 0 0
lorenzo@lorenzo-desktop:~$
This is the result of requested cmd.(cat /etc/fstab).

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

You haven't pasted the right line:

You have pasted:

UUID=c81961bd-75de-4eb3-bcaf-c86007e5b1ad none swap sw 0 0/dev/fd0 /media/floppy0 auto rw,noauto,user,sync 0 0

Which is not only WRONG but it will make the line with the UUID fail.

Make it look like this:

UUID=c81961bd-75de-4eb3-bcaf-c86007e5b1ad none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,noauto,user,sync 0 0

See how the text after '0 0' is on the next line. You will need to run:

gksudo gedit /etc/fstab

To get write access

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#11

lorenzo@lorenzo-desktop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda9 during installation
UUID=5f3a91b2-e8a4-459a-ae7d-e656242b0960 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda10 during installation
UUID=c81961bd-75de-4eb3-bcaf-c86007e5b1ad none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,noauto,user,sync 0 0
lorenzo@lorenzo-desktop:~$
This is the results of last(actionparsnip)instructions.....still unable to mount after sudo mount -a cmd

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#12

In regards to my last posted information of (2010-08-03) of question #119000,unable to mount floppy drive....am I in a hung situation or are there anymore directives to solve this problem,or am I to simply wait on a new release of ubuntu in the hopes of this particular situation being resolved?

Thank you

Revision history for this message
Launchpad Janitor (janitor) said :
#13

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#14

I just recently installed ubuntu 10.10 and I am still unable to mount the floppy drive,I check the fstab info ,the floppy line was already there.The physical aspects of the drive appear to be normal.At any rate, I would really like to try and get this solved.Can you please help?
Thank you

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#15

Please check if your user have all permissions
please open the menu System→Administration→User and groups
and check the permissions of your user please give all permissions using the
"Advanced settings" go to "Users Priviledges" and set all permissions

------------------------

To manually mount a floppy supposing it is a fat formatted floppy...

Open a terminal, create the mount point for floppy, if it doesn't exist, so type:

sudo mount -t msdos /dev/fd0 /media/floppy0

Then to umount it

sudo umount /media/floppy0

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#16

After trying all of the above(Marco Braida/22 hrs.ago),still am unable to mount floppy drive.However,I went to flop.dr. properties/permissions tab,it informed me that the permissions of the floppy drive could not be determined.Hope this helps.
Thanks

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#17

Please tell errors you get after this command:

sudo mount -t msdos /dev/fd0 /media/floppy0

and if you get no error please copy and paste the result of:

mount

and

ls -l /media/

and

ls -l /media/floppy0

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#18

sudo mount -t msdos /dev/fd0 /media/floppy0sudo mount -t msdos /dev/fd0 /media/floppy0lorenzo@ubuntu:~$ sudo mount -t msdos /dev/fd0 /media/floppy0
[sudo] password for lorenzo:
mount: /dev/fd0: can't read superblock
lorenzo@ubuntu:~$
lorenzo@ubuntu:~$ ls -l /media/
total 8
drwxr-xr-x 2 root root 4096 2010-10-19 17:08 cdrom
lrwxrwxrwx 1 root root 7 2010-10-19 17:04 floppy -> floppy0
drwxr-xr-x 2 root root 4096 2010-10-19 17:04 floppy0
lorenzo@ubuntu:~$
lorenzo@ubuntu:~$ ls -l /media/floppy0
total 0
lorenzo@ubuntu:~$
Here are the results.

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#19

I don't know if this will be of any help in regards to mounting the floppy drive but when I looked in the disk utility under admin.I found every drive device had a connection point except the floppy drive which stated UNKOWN

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#20

Man udisks

udisk --mount device_file [--mount-fstype fstype] [--mount-options options]
           Mounts the device represented by device_file using the file system
           fstype and a comma-separated list of options.

sudo udisks --mount /dev/fd0

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#21

THANK YOU!!!

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#22

Thanks marcobra (Marco Braida), that solved my question.

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#23

One other thing,when flop.dr.is not needed what command to run to UNMOUNT?

Thanks

Revision history for this message
delance (olivier-delance) said :
#24

Try
   sudo umount /dev/fd0

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#25

I am somewhat confused,mounting and unmounting the flop.dr. using the latest resolved commands was working GREAT until I tried it this morning,which I got the following results:lorenzo@ubuntu:~$ sudo udisks --mount /dev/fd0
[sudo] password for lorenzo:
Mount failed: Error mounting: mount exited with exit code 1: helper failed with:
mount: /dev/fd0 is not a valid block device

lorenzo@ubuntu:~$
Any idea whats going on now and can you please help with a fix?

Thank you

Revision history for this message
delance (olivier-delance) said :
#26

Is the floppy in driver formated ?

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#27

I tried the commands this morning and it's working fine(after re-booting)

Revision history for this message
Best delance (olivier-delance) said :
#28

Is the question solved (in this case, please, mark it "Solved") ?
Else could you summarize current situation, so answerers who manages many questions will not have to read whole thread.

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#29

Thanks delance, that solved my question.