LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't mount pendrive (https://www.linuxquestions.org/questions/linux-newbie-8/cant-mount-pendrive-928837/)

vamsireloaded 02-11-2012 12:18 PM

can't mount pendrive
 
Hi friends,yesterday i received a pen drive from my friend,when i trying mount it in ubutnu 11.10,it got failed,
what i noticed is that, my pendrive got detected and the device file is /dev/sdb1, which i got confirmed from /var/log/syslog file,but failed to mount manually
me tried to format it using vfat but still failed to mount,the interesting part is that it working like a charm in windows 7.

Guys please help me

jefro 02-11-2012 12:47 PM

Darn, didn't read that very well.

vamsireloaded 02-11-2012 01:01 PM

vfat it self
tried the command mkfs.vfat

frankbell 02-11-2012 09:30 PM

Did you try creating a mountpoint for it before trying to mount it manually?

Something like, as root

Code:

mkdir /media/thumbdrive
mount /dev/sdb1 /media/thumbdrive

If it throws a "not found in fstab" error, put it in fstab and try again.

More about fstab: http://www.tuxfiles.org/linuxhelp/fstab.html

vamsireloaded 02-12-2012 01:32 AM

Hi i tried to mount it manually using mount command,but there is no change,the cursor is just waiting,Any other alternate solution ?

frankbell 02-12-2012 08:57 PM

Try to cd to it, as in cd /media/thumbdrive, to use my example.

If you mount a drive successfully from a terminal, all that happens is the command prompt returns after the command is completed. This, in the absence of any error message, generally indicates that the device is mounted.

You could also run the command

Code:

cat /etc/mtab
to see if the device now appears in the Mount TABle.

Satyaveer Arya 02-12-2012 10:16 PM

Check this link:

http://www.dreamincode.net/forums/to...rive-in-linux/

Ion Silverbolt 02-12-2012 10:42 PM

How big is the flash drive? If it's small, mkfs.vfat might be using something other than fat32. I don't think it should matter, but it's quick to try.

Code:

mkdosfs -I -F32 /dev/*pendrive device here*

k3lt01 02-12-2012 10:43 PM

I've had a similar issue just recently, my old laptop will not detect my new usb flash drives but my new laptop will. They both have Debian Squeeze. The issue is my old laptop doesn't recognise newer usb devices while my new laptop will recognise all. Your problem may not be an OS issue but a hardware issue instead if you are using this on a machine different to the one with Windows 7.

k3lt01 02-12-2012 10:46 PM

Quote:

Originally Posted by Satyaveer Arya (Post 4600932)

Nice to see your up to date with technology :rolleyes: That link is from 2005 so if it's a kernel issue like the link suggests it should be well and truly gone by now.

Satyaveer Arya 02-13-2012 01:14 AM

vamsireloaded,

What is your hardware configuration?


All times are GMT -5. The time now is 09:54 PM.