Hardware:Configuration:Floppy:SuSE


Page 1 of 2 12 LastLast
Results 1 to 15 of 24

Thread: Hardware:Configuration:Floppy:SuSE

Hybrid View

  1. #1
    Join Date
    Nov 2000
    Location
    /dev/3.14Pie/HowRandom
    Posts
    6,697

    Re: Mounting Floppy Drive

    Originally posted by Bold Jim
    then enter this command in Konsole,
    /dev/fd0 /floppy auto user,noauto 00
    That line isn't a command that can be executed at the prompt; that's the entry that you would have in /etc/fstab for your floppy. You're getting the error because the shell thinks you want to run the command /dev/fd0, which, of course, isn't a command at all.

    Originally posted by Bold Jim
    And if I just try, mount /floppy I receive this,
    linux:~ # mount /floppy
    mount: can't find /floppy in /etc/fstab or /etc/mtab
    Serz is probably right about this one- you don't have a /floppy directory. Check to see if a /mnt/floppy directory exists. If so, use that in your mount command instead. Also look in your /etc/fstab file, an entry for the floppy should have been automagically created when you installed the OS.

  2. #2
    Join Date
    Nov 2000
    Location
    /dev/3.14Pie/HowRandom
    Posts
    6,697
    /etc/fstab is just a plain-text file; it can be opened and edited in any text editing program. If you're working from the command line, use vi/emacs/pico/etc.; if you're in the GUI use any of the graphical text editing programs that SuSE provides.

  3. #3
    Join Date
    Nov 2000
    Location
    /dev/3.14Pie/HowRandom
    Posts
    6,697
    A sample /etc/fstab entry which will allow non-root users to access the floppy:

    /dev/fd0 /media/floppy auto noauto,user 0 0


    The user option is what allows a non-root user to mount/unmount removable media such as floppies, CD-ROMs, Zip disks, etc. The "users" option is another slight variation; read the mount man page for a description of the difference betwen the two.

    A further breakdown on the options:

    auto - automatically detect the format of the floppy (msdos, ext2, etc.)

    noauto - do not automatically probe for and attempt to mount removable media at bootup. Since you probably won't usually have a floppy, CD-ROM, etc. inserted when you boot, this option speeds up the boot process a bit by bypassing the check for those disks.

  4. #4
    Join Date
    Nov 2000
    Location
    /dev/3.14Pie/HowRandom
    Posts
    6,697

    Re: mount

    Originally posted by michaelk
    Even if bold jim entered the correct line in the /etc/fstab he still will not be able to mount the floppy by specifing a filesystem type. At least it doesn't work on my PC's.
    ?? It's always worked on my machines... as long as I use the correct syntax

  5. #5
    Join Date
    Nov 2000
    Location
    /dev/3.14Pie/HowRandom
    Posts
    6,697
    [SOLVED]

    [searching keywords]
    /dev/fd0 mount SuSe fstab floppy user

  6. #6
    Join Date
    Dec 1999
    Location
    Toronto
    Posts
    39,307
    Add

    /dev/fd0 /media/floppy auto user,noauto 0 0

    to /etc/fstab.

    Ensure that /media/floppy exists as that is the default mountpoint that SuSE uses though it may not if your floppy drive was not detected during the installation.

    See if

    dmesg | grep fd0

    gives you a response such as

    Floppy drive(s): fd0 is 1.44M
    SEARCH FIRST... ASK SECOND Read the JL 'Community Help Posting Guidelines' before posting in the forums.

    Precompiled Redhat NTFS Modules

    Linuxplanet Tutorials

    If Linux doesn't have the solution, you have the wrong problem. ... Please do not send me a PM asking for help...

    Please read the search suggestion thread in JL Ideas

  7. #7
    Join Date
    Dec 1999
    Location
    Toronto
    Posts
    39,307
    Since you are using SuSE and as posted above, /media/floppy is the correct mountpoint.

    ls -al /media

    (look for floppy)
    SEARCH FIRST... ASK SECOND Read the JL 'Community Help Posting Guidelines' before posting in the forums.

    Precompiled Redhat NTFS Modules

    Linuxplanet Tutorials

    If Linux doesn't have the solution, you have the wrong problem. ... Please do not send me a PM asking for help...

    Please read the search suggestion thread in JL Ideas

  8. #8
    Join Date
    Dec 1999
    Location
    Toronto
    Posts
    39,307
    Originally posted by Bold Jim

    As I understand it I have a floppy drive, so why can't I mount it,fedup and confused
    Because you are not using the correct mountpoint?

    For a dos/win formatted diskette that is inserted in the drive

    mount -t msdos /dev/fd0 /media/floppy

    For a ext2 (Linux) formatted diskette that is inserted in the drive.

    mount -t ext2 /dev/fd0 /media/floppy

    umount /media/floppy (before removing the diskette)
    SEARCH FIRST... ASK SECOND Read the JL 'Community Help Posting Guidelines' before posting in the forums.

    Precompiled Redhat NTFS Modules

    Linuxplanet Tutorials

    If Linux doesn't have the solution, you have the wrong problem. ... Please do not send me a PM asking for help...

    Please read the search suggestion thread in JL Ideas

  9. #9
    Join Date
    Dec 1999
    Location
    Toronto
    Posts
    39,307
    Have a look through the mount manpage (man mount) for the user/users option you add to the floppy mountpoint in /etc/fstab.

    Searching the JL forums for 'floppy mount permission' or 'floppy mount user' should find other threads on the same topic.
    SEARCH FIRST... ASK SECOND Read the JL 'Community Help Posting Guidelines' before posting in the forums.

    Precompiled Redhat NTFS Modules

    Linuxplanet Tutorials

    If Linux doesn't have the solution, you have the wrong problem. ... Please do not send me a PM asking for help...

    Please read the search suggestion thread in JL Ideas

  10. #10
    Join Date
    Jul 2001
    Location
    Fife, Scotland
    Posts
    1,794
    Ensure that /media/floppy exists
    Shouldn't that be /mnt/floppy?

    Try:

    > pico /etc/fstab

    You must be root to do this.

    James
    -----------------------------
    UseLinux.net
    -----------------------------

    perl -e 'use Math::Complex;$|=1;for$r(0..24){for$c (0..79){$C=cplx(($c/20.0)-3.0,-($r/12.0)+1.0);$Z= cplx(0,0);for($i=0;($i<80)&&(abs($Z)<2.0);$i++){$Z =$Z*$Z+$C;}print$i>=80?"*":" ";}print"\n";}'

  11. #11
    Join Date
    May 2002
    Posts
    1,254
    Shouldn't that be /mnt/floppy?
    SUSE uses /media instead of /mnt for its removable media directory.


    Bold Jim
    You have to be root to edit anything in /etc. All of the methods described opening a console window. Logging in as root via su and using a console text editor to modify the file.

    I bet your just clicking on the file in Konqueror or other browser which doesn't open the file for writing. To open a file for writing in Konqueror right click on the file and select open with. Then select a text editor.

  12. #12
    Join Date
    May 2002
    Posts
    1,254

    mount

    Even if bold jim entered the correct line in the /etc/fstab he still will not be able to mount the floppy by specifing a filesystem type. At least it doesn't work on my PC's.

    The user just uses the mount /media/floppy or mount /dev/fd0 ( in this case) command.

  13. #13
    Join Date
    Jul 2002
    Location
    Colorado USA
    Posts
    3,070
    Originally posted by serz
    Hmm, how are you doing this?
    to add to that what text editor are you using? eg vi, kate
    Some of my favorite links

    search engine's
    G4L & JL forum search
    one of the best Debian based distro's for new hardware
    registered Linux user # 288225

  14. #14
    Join Date
    Jul 2002
    Location
    Colorado USA
    Posts
    3,070
    I am glad you were able to mount your floppy drive

    and your welcome
    Some of my favorite links

    search engine's
    G4L & JL forum search
    one of the best Debian based distro's for new hardware
    registered Linux user # 288225

  15. #15
    Join Date
    Apr 2003
    Location
    Buenos Aires, Argentina
    Posts
    4,219
    It's probably /mnt/floppy.

    mount /mnt/floppy

    Post the contents of your /etc/fstab file.
    djserz.com.ar
    "All the drugs in this world won't save you from yourself..."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •