Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Peripherals / Hardware > Pendrive mount problems

Forgot Password?
 Peripherals / Hardware   Is your hardware supported? Having trouble getting some hardware working? Post here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 01-12-2005   #1 (permalink)
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)
daniSeac02 is offline  



Reply With Quote
Old 01-12-2005   #2 (permalink)
Linux Engineer
 
Join Date: Nov 2004
Location: Montreal, Canada
Posts: 1,271
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
UgoDeschamps is offline   Reply With Quote
Old 01-12-2005   #3 (permalink)
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
daniSeac02 is offline   Reply With Quote
Old 01-12-2005   #4 (permalink)
Linux Engineer
 
Join Date: Nov 2004
Location: Montreal, Canada
Posts: 1,271
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
UgoDeschamps is offline   Reply With Quote
Old 01-12-2005   #5 (permalink)
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.
Mord is offline   Reply With Quote
Old 11-07-2006   #6 (permalink)
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?
ccBEST is offline   Reply With Quote
Old 12-04-2006   #7 (permalink)
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
abhilasha is offline   Reply With Quote
Old 12-04-2006   #8 (permalink)
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
abhilasha is offline   Reply With Quote
Old 12-04-2006   #9 (permalink)
Linux Guru
 
bryansmith's Avatar
 
Join Date: Nov 2004
Location: /Ontario/Canada
Posts: 2,622
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.
bryansmith is offline   Reply With Quote
Old 12-05-2006   #10 (permalink)
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.
ccBEST is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:56 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1