LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-18-2004, 07:58 PM   #1
alpha1906
LQ Newbie
 
Registered: Aug 2004
Posts: 11

Rep: Reputation: 0
Trouble mounting usb flash drive


Hi,

I have recently installed Slackware 10. I am having trouble mounting a Lexar JumpDrive. Here is some info:


Code:
fdisk -l 

Disk /dev/sda: 31 MB, 31981568 bytes
4 heads, 32 sectors/track, 488 cylinders
Units = cylinders of 128 * 512 = 65536 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         487       31152    4  FAT16 <32M

Disk /dev/hda: 7510 MB, 7510164480 bytes
255 heads, 63 sectors/track, 913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1         243     1951866    c  W95 FAT32 (LBA)
/dev/hda2             244         880     5116702+  83  Linux
/dev/hda3             881         913      265072+  82  Linux swap

mount -t vfat /dev/sda1 /mnt/flashdrive 
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       or too many mounted file systems
Nothing unusual seems to be in /var/log/messages. My printer is connected to a usb port and prints fine. So it shouldn't be a problem with usb.

Any suggestions would be greatly appreciated


Thanks
 
Old 08-18-2004, 08:04 PM   #2
65_289
Member
 
Registered: May 2002
Distribution: Ubuntu 5.04, Kanotix
Posts: 163

Rep: Reputation: 30
In my /etc/fstab, I have it listed as an "auto" file system. My drive mounts fine.
 
Old 08-18-2004, 08:46 PM   #3
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
Make sure that you modprobe usb-storage first. Run lsmod to check if it's loaded.
 
Old 08-20-2004, 12:14 AM   #4
alpha1906
LQ Newbie
 
Registered: Aug 2004
Posts: 11

Original Poster
Rep: Reputation: 0
I just tried

Code:
modprobe usb-storage

lsmod 

Module                  Size  Used by    Not tainted
printer                 7744   0
snd-pcm-oss            37736   0
snd-mixer-oss          12504   0  [snd-pcm-oss]
usb-storage            66176   0
uhci                   24444   0  (unused)
usbcore                59308   1  [printer usb-storage uhci]
8139too                14376   1
mii                     2272   0  [8139too]
crc32                   2880   0  [8139too]
snd-ens1371            11364   1
gameport                1420   0  [snd-ens1371]
snd-pcm                56072   0  [snd-pcm-oss snd-ens1371]
snd-timer              13604   0  [snd-pcm]
snd-page-alloc          6328   0  [snd-pcm]
snd-rawmidi            12740   0  [snd-ens1371]
snd-seq-device          3888   0  [snd-rawmidi]
snd-ac97-codec         49500   0  [snd-ens1371]
snd                    30852   1  [snd-pcm-oss snd-mixer-oss snd-ens1371 snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ac97-codec]
soundcore               3396   6  [snd]
pcmcia_core            39972   0
ide-scsi                9328   0
agpgart                43940   0  (unused)

I saw another thread that mentioned using sd_mod. I even tried

Code:
modprobe sd_mod

modprobe: Can't locate module sd_mod
Not sure what else to do
 
Old 08-20-2004, 10:10 AM   #5
alpha1906
LQ Newbie
 
Registered: Aug 2004
Posts: 11

Original Poster
Rep: Reputation: 0
I have one working now.

When I purchase this flash drive, I bought two of the same model. The one I been trying to use, I first tried it on a Windows XP machine and save a few files on it before trying to
mount it on my Slack box. I tried the second one in the Slack box first and I was able to mount that one. I guess you shouldn't use a flash drive in Windows XP if you planned to use it with a Linux machine also.

Now, to find a script to mount this or figure out if it can auto-mount when I plug it in.
 
Old 08-20-2004, 12:50 PM   #6
65_289
Member
 
Registered: May 2002
Distribution: Ubuntu 5.04, Kanotix
Posts: 163

Rep: Reputation: 30
Quote:
Originally posted by alpha1906
I have one working now.

When I purchase this flash drive, I bought two of the same model. The one I been trying to use, I first tried it on a Windows XP machine and save a few files on it before trying to
mount it on my Slack box. I tried the second one in the Slack box first and I was able to mount that one. I guess you shouldn't use a flash drive in Windows XP if you planned to use it with a Linux machine also.

Now, to find a script to mount this or figure out if it can auto-mount when I plug it in.
That's really wierd. I can mount mine in both XP and Linux...
 
Old 08-20-2004, 03:59 PM   #7
alpha1906
LQ Newbie
 
Registered: Aug 2004
Posts: 11

Original Poster
Rep: Reputation: 0
I can mount the 2nd one in Windows XP also. The only difference between the first one and the 2nd one, is I mounted the first one in Windows XP before trying it on the Linux box.
 
  


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
Auto-Mounting USB Flash Drive plehman Linux - Newbie 12 01-05-2009 10:41 AM
Problem mounting usb flash drive with 2.6.12.2 kernel dcdbutler Slackware 16 09-12-2005 08:48 PM
USB flash drive mounting problem guillaume31 Linux - Hardware 4 05-23-2005 12:47 PM
USB Flash Drive not Mounting Kentara Linux - Hardware 1 03-12-2005 09:59 AM
Mounting a USB Flash Drive Garibaldi3489 Slackware 3 01-04-2005 10:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:13 PM.

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