LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2012, 01:18 PM   #1
vamsireloaded
LQ Newbie
 
Registered: Feb 2012
Posts: 4

Rep: Reputation: Disabled
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
 
Old 02-11-2012, 01:47 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 17,101

Rep: Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552
Darn, didn't read that very well.

Last edited by jefro; 02-13-2012 at 08:04 PM.
 
Old 02-11-2012, 02:01 PM   #3
vamsireloaded
LQ Newbie
 
Registered: Feb 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
vfat it self
tried the command mkfs.vfat
 
Old 02-11-2012, 10:30 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,791
Blog Entries: 17

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
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
 
Old 02-12-2012, 02:32 AM   #5
vamsireloaded
LQ Newbie
 
Registered: Feb 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi i tried to mount it manually using mount command,but there is no change,the cursor is just waiting,Any other alternate solution ?
 
Old 02-12-2012, 09:57 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,791
Blog Entries: 17

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
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.
 
Old 02-12-2012, 11:16 PM   #7
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Check this link:

http://www.dreamincode.net/forums/to...rive-in-linux/
 
Old 02-12-2012, 11:42 PM   #8
Ion Silverbolt
Member
 
Registered: Sep 2004
Distribution: Gentoo/Xfce, Manjaro/Xfce, SolydXK
Posts: 194

Rep: Reputation: 36
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*
 
Old 02-12-2012, 11:43 PM   #9
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
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.

Last edited by k3lt01; 02-12-2012 at 11:47 PM.
 
Old 02-12-2012, 11:46 PM   #10
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by Satyaveer Arya View Post
Nice to see your up to date with technology 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.
 
Old 02-13-2012, 02:14 AM   #11
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
vamsireloaded,

What is your hardware configuration?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to mount a pendrive MPRT Linux - Newbie 7 10-07-2010 03:56 PM
Unable to mount pendrive nanns Linux - Newbie 3 05-27-2010 07:16 AM
How to mount pendrive from terminal??? pusrob MEPIS 4 05-16-2007 12:55 PM
pendrive mount myuran Linux - Hardware 1 04-15-2006 02:27 AM
usb pendrive mount eg72 Linux - Hardware 1 05-16-2004 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration