LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Trouble mounting usb flash drive (https://www.linuxquestions.org/questions/slackware-14/trouble-mounting-usb-flash-drive-219442/)

alpha1906 08-18-2004 06:58 PM

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

65_289 08-18-2004 07:04 PM

In my /etc/fstab, I have it listed as an "auto" file system. My drive mounts fine.

WMD 08-18-2004 07:46 PM

Make sure that you modprobe usb-storage first. Run lsmod to check if it's loaded.

alpha1906 08-19-2004 11:14 PM

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

alpha1906 08-20-2004 09:10 AM

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.

65_289 08-20-2004 11:50 AM

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...

alpha1906 08-20-2004 02:59 PM

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.


All times are GMT -5. The time now is 05:30 AM.