Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-18-2004, 07:58 PM
|
#1
|
LQ Newbie
Registered: Aug 2004
Posts: 11
Rep:
|
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
|
|
|
08-18-2004, 08:04 PM
|
#2
|
Member
Registered: May 2002
Distribution: Ubuntu 5.04, Kanotix
Posts: 163
Rep:
|
In my /etc/fstab, I have it listed as an "auto" file system. My drive mounts fine.
|
|
|
08-18-2004, 08:46 PM
|
#3
|
Member
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484
Rep:
|
Make sure that you modprobe usb-storage first. Run lsmod to check if it's loaded.
|
|
|
08-20-2004, 12:14 AM
|
#4
|
LQ Newbie
Registered: Aug 2004
Posts: 11
Original Poster
Rep:
|
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
|
|
|
08-20-2004, 10:10 AM
|
#5
|
LQ Newbie
Registered: Aug 2004
Posts: 11
Original Poster
Rep:
|
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.
|
|
|
08-20-2004, 12:50 PM
|
#6
|
Member
Registered: May 2002
Distribution: Ubuntu 5.04, Kanotix
Posts: 163
Rep:
|
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...
|
|
|
08-20-2004, 03:59 PM
|
#7
|
LQ Newbie
Registered: Aug 2004
Posts: 11
Original Poster
Rep:
|
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 04:13 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|