LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-20-2006, 11:59 PM   #1
santhosh.linux
Member
 
Registered: Nov 2005
Location: India
Posts: 42

Rep: Reputation: 15
problem in mounting a USB pen drive


Hi friends,
i am facing one problem...with pendrive...if i insert pen drive..it is displaying..sda,sda1 and sda2...but...if i exec this command
"mount -t vfat /dev/sda /mnt/pendrive"

it is giving...
unknown file system vfat....

after that...i enable those options in menuconfig....and compile my kernel...
then....onwards..it is giving.....wrong fs type....bad sector...some thing like that.....pendrive is working properly...in windows....


so..what will be the problem....any inputs from u.


thanks in advance,
santhosh
 
Old 04-21-2006, 12:03 AM   #2
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
What distro are you using?

Just try

mount /dev/sda /mnt/pendrive

And see if it works

Also try a
mount -t auto option


Also check /proc/filesystems to see if vfat is supported in your kernel.

Cheers
Z
 
Old 04-21-2006, 12:05 AM   #3
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
And next time, please make an effort to try posting to the right forum...
 
  


Reply



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
Mounting a USB pen drive in Fedora Core 1 mrde50garfield Linux - Hardware 2 07-26-2010 01:14 AM
USB pen drive not mounting. /dev/sda1 not present! hamish Linux - Hardware 9 01-11-2010 08:25 PM
mounting usb pen drive as writeable for other users linuxmandrake Ubuntu 19 03-18-2006 07:57 PM
USB Pen Drive not mounting Psirus Debian 10 01-11-2006 12:15 AM
mounting usb pen drive; ntfs problem ShamitSoneji Fedora 20 12-01-2004 02:19 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:15 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
Open Source Consulting | Domain Registration