Find the answer to your Linux question:
Results 1 to 10 of 10
Hi everyone, I had some problem with mount / umount pendrive devices. I am used to do: mount /dev/sda1 /mnt/pendrive as su. Usually the first time I can mount successfully ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Posts
    2

    Pendrive mount problems


    Hi everyone,
    I had some problem with mount / umount pendrive devices.
    I am used to do:

    mount /dev/sda1 /mnt/pendrive

    as su. Usually the first time I can mount successfully my pendrive device, and the second time a cannot. Obviously I umounted the device before remount it again.

    Tipical erros I give are:

    mount: No medium found
    or
    mount: you have to specify file system type


    Any suggestion?
    Thanks

    Daniele

    ps: I'm using RH9 (kernel 2.4.20-8)

  2. #2
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267
    What do you meen in the first time I can and not the second...

    Do you do it this way, you mount, everything work..
    you umount , to remove the pen drive...
    you mount, and it doesnt recongnize it...

    Did you unplug it after umounting?
    if you reboot doesnt it work?
    whats the filesystem on this device?
    is it fstab? while not working is it in mstab?
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  3. #3
    Just Joined!
    Join Date
    Jan 2005
    Posts
    2

    step by step

    mount /dev/sda1 /mnt/pendrive
    ...
    umount /mnt/pendrive

    unplug the pendrive and reinserted it

    mount /dev/sda1 /mnt/pendrive

    don't work (error filesystem not specified). then I tryed with:

    mount -t auto /dev/sda1 /mnt/pendrive

    nothing...


    If I reboot it works.

    I have
    /dev/sda1 /mnt/pendrive vfat user 0 0

    in my fstab

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267
    Instead of "auto" in mount command try "vfat"
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  6. #5
    Just Joined!
    Join Date
    Dec 2004
    Posts
    45
    This is a known problem. Try this, slightly modified procedure, my changes in bold:

    mount /dev/sda1 /mnt/pendrive
    ...
    umount /mnt/pendrive

    unplug the pendrive and reinserted it

    touch /dev/sda

    mount /dev/sda1 /mnt/pendrive


    I don't know if you are using Gentoo or not, but according to the fine people over in the Gentoo forums, the very best way to get around this problem is to start using udev instead.

    I don't buy it though. Its clearly a bug, I don't care how deep in the design it runs.

    Anyway, I've gotten around it using that touch command, even going so far as using sudo to allow all my users the ability to "touch" that device entry so that they can continue using thumbdrives.

  7. #6
    Just Joined!
    Join Date
    Nov 2006
    Posts
    3

    Hello

    Hi, I had somehow connected problem.
    I'm with Fedora Core 4, Kernel version 2.6.17-1.2142.
    If I mount and umont my device as a root, everyting goes ok.
    Even after umount I unplug my device, and plug it again and it mount it again without any problems.
    BUT I need to give rights to someone who must not know the root password to be able to mount and umount a flash memory stick. Is there a way to do this? I gave his account rights and even ownership of any system files which contains "mount" but it does not help.
    Any ideas?

  8. #7
    Just Joined!
    Join Date
    Dec 2006
    Posts
    4

    not able to mount pendrive

    i inserted the pen drive and typed the following command at command prompt

    # mount -t vfat /dev/sda1 /mnt/pendrive

    a error message comes:
    mount : /dev/sda1 already mounted or /mnt/pendrive is busy


    what should i do

  9. #8
    Just Joined!
    Join Date
    Dec 2006
    Posts
    4

    unable to mont pendrive

    i inserted the pen drive and typed the following command at command prompt

    # mount -t vfat /dev/sda1 /mnt/pendrive

    a error message comes:
    mount : /dev/sda1 already mounted or /mnt/pendrive is busy


    what should i do

  10. #9
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    This means that either /dev/sda1 is mounted or something is mounted at /mnt/pendrive

    Try unmounting each and see if that resolves the problem.

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  11. #10
    Just Joined!
    Join Date
    Nov 2006
    Posts
    3

    Smile

    Dear abhilasha,

    Are you a root of the machine, where you are trying to mount your pendrive? If you are a root, Linux usually mount its sda drives automatically, so it said that it is already mounted…
    Try to see in Home, tab where devices are listed /, /boot… See if there is something like pendrive sda1 with a recognizable icon. If there is, just make a double click on it, and it will open it, automatically. Be sure, that you had clicked right button, and had choose “safety remove”, before unplug your pendrive device.

    Good Luck.

Posting Permissions

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