Announcement

Collapse
No announcement yet.

Problems mounting floppy

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problems mounting floppy

    Ok, can anyone help me? i have some serious problems with my floppy device, it simply doesn't mount, here is my fstab:

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/sda1
    UUID=c3834dc4-24dd-496f-bb78-e528d5b502b7 / ext3 defaults,erro$
    # /dev/sda5
    UUID=591bf617-fec5-45dc-918f-d86e3cc2e5e3 none swap sw $
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

    When i try to mount using sudo mount /media/floppy0, it tels me /dev/fd0 is not a valid block device (sorry, translating from spanish)



    Thanks

    #2
    Re: Problems mounting floppy

    First, it might not be a valid block device. (But who uses floppies anyway?) Post the results of both "ls -Al /dev/fd0" and "fdisk -l" ("minus ell").

    As for your fstab, there definitely shouldn't be dollar signs in it. Here's mine for comparison (all nice and tab-spaced, too):
    Code:
    proc      /proc      proc  defaults                            0    0
    /dev/sda1    /        ext3  nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid  0    1
    /dev/sda5    none      swap  sw                               0    0
    /dev/hda    /media/cdrom1  auto  user,atime,noauto,rw,nodev,noexec,nosuid            0    0
    /dev/scd0    /media/cdrom0  auto  user,atime,noauto,rw,nodev,noexec,nosuid            0    0
    Especially note the /dev/sda1 line.
    For external use only.

    Comment


      #3
      Re: Problems mounting floppy

      Well, i don't really use it, i haven't bought a floppy disk (just the name takes me back to the 80's)in years, I just wonder why it isn't working, it was working fine a week ago. It just gives me something more to learn about and fix, so if you don't mind the motive...

      juan@juan-desktop:~$ ls -Al /dev/fd0
      brw-rw---- 1 root floppy 2, 0 2007-05-04 21:04 /dev/fd0

      juan@juan-desktop:~$ sudo fdisk -l

      Disco /dev/sda: 160.0 GB, 160041885696 bytes
      255 cabezas, 63 sectores/pista, 19457 cilindros
      Unidades = cilindros de 16065 * 512 = 8225280 bytes

      Disposit. Inicio Comienzo Fin Bloques Id Sistema
      /dev/sda1 * 1 18896 151782088+ 83 Linux
      /dev/sda2 18897 19457 4506232+ 5 Extendida
      /dev/sda5 18897 19457 4506201 82 Linux swap / Solaris

      Comment


        #4
        Re: Problems mounting floppy

        Nah, no problem.
        Anyway, it does appear to be a valid block device (as far as I can tell).
        Next thing to do is to fix your fstab. First, change your sda1 line's options to read like mine, then remove the dollar sign from your sda5 line and append "0 0" to that line.

        You know, the dollar signs make me think someone used a regex to do the fstab conversions... Someone didn't check their regex enough.
        (They're not easy--you try interpreting/writing "^DISABLED_MODULES=\".*\bfglrx\b.*\"$". I recently wrote a script which that was for, and all the quotes and parentheses gave me a headache. But I digress.)
        For external use only.

        Comment


          #5
          Re: Problems mounting floppy

          ok, done everything, now when i manually mount it, it starts working, it spins, the light goes on, but that's it. When i try to save someting in my floppy, the data is saved in the floppy folder, but it's not trasnferred to to the actual disk...interesting

          Comment


            #6
            Re: Problems mounting floppy

            I guess the next step would be to check the cables.
            I assume that it works fine (i.e. no errors) during a mount/unmount?
            Try also writing to the floppy in a console. If there are any read/write tests you know of (I don't), try those.
            For external use only.

            Comment


              #7
              Re: Problems mounting floppy

              ok, changed the cable, now i can mount floppy only trough the konsole and work with it only through the konsole, not through konqueror, any ideas?

              Comment


                #8
                Re: Problems mounting floppy

                So you can read/write through a console?
                Go to media:/ in Konqueror, find the floppy, and right-click > Properties. Poke around in there, especially the Mounting tab.
                For external use only.

                Comment


                  #9
                  Re: Problems mounting floppy

                  I also have a similar floppy problem:
                  If I place a disk into the floppy drive, nothing happens.

                  If I look at /media/floppy0 it says I have 0 files, 0 directories and I cannot write anything to it.

                  If I look at /etc/fstab the following entry appears twice:

                  /dev/fd0 /media/floppy0 auto user,atime,noauto,rw,dev,exec,suid 0 0

                  If I do fdlist, I get the following:

                  NAME TYPE STATUS
                  fd0 1440K not mounted

                  If I try: mount /media/floppy0, I get:
                  mount: /dev/fd0 is not a valid block device

                  The floppy drive does work -- I can boot from it.

                  Comment


                    #10
                    Re: Problems mounting floppy

                    Tried commenting out one of the fd0 entries in your fstab?
                    For external use only.

                    Comment


                      #11
                      Re: Problems mounting floppy

                      Actually, when I looked more carefully, the two lines were NOT identical. However, when I commented one out, I was able to mount the floppy OK (I think one had suid, the other nosuid; one had auto, the other had noauto.

                      Anyway your suggestion worked! Thanks.

                      Comment

                      Working...
                      X