LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 05-17-2004, 10:41 AM   #1
crazyking
LQ Newbie
 
Registered: Aug 2003
Location: MO, US
Posts: 7

Rep: Reputation: 0
USB flash drive


I am a newbie using mandrake 10. I have trouble mounting my usb flash drive.

I have the usb-storage displayed when I type lsmod

When I type fdisk -l, it says the usb drive dont have a partition table
Disk /dev/sda: 132 MB, 132120576 bytes
5 heads, 51 sectors/track, 1011 cylinders
Units = cylinders of 255 * 512 = 130560 bytes
Disk /dev/sda doesn't contain a valid partition table

When I try to mount my usb memorystick, it says
(mount -t vfat /dev/sda /mnt/usbstick)
mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems

I know my usb drive has fat32 format. Does it equal to vfat in Linux?

Can someone tell me what to do to get my usb flash drive working?
Thank you,
 
Old 05-17-2004, 11:25 AM   #2
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
I'm not at my linux box, but as far as I remeber, do this:

#mkdir /mnt/usbstick

then stick in your usb pen drive
go into /etc/fstab and add

/dev/sda /mnt/usbstick auto user,noauto 0 0

$mount /mnt/usbstick

this should work.

Otherwise, do all of that and then:
#mount -t usbfs /dev/sda /mnt/usbstick

If neither of those work, then try /dev/sda1 instead of /dev/sda and if that STILL doesn't work, then you might not have the usbfs module built into your kernel (but I guess you will).

Thanks
Hamish
 
  


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
USB flash drive bsmntbombdood Linux - Hardware 3 10-19-2005 04:54 PM
USB Flash drive trainee Slackware 3 05-18-2005 01:50 PM
usb flash drive 1337_n00b Amigo 1 02-13-2005 12:25 AM
help about USB flash drive deepdark Suse/Novell 13 01-05-2005 11:38 PM
USB 2.0 Flash Drive fusee Linux - Hardware 3 04-16-2004 05:46 PM


All times are GMT -5. The time now is 08:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration