Lexar USB key, please help
Does anybody know how to mount one, or any USB Key? So far I've created a directory in /mnt labled /mnt/usbkey
and I've ran "tail -f /var/log/messages" and here's what I got: kernel: cdrom: This disk doesn't have any tracks I recognize -- MARK -- kernel: usb.c: registered new driver usbdevfs kernel: usb.c: registered new driver hib kernel: Initializing USB Mass Storage driver... kernel: usb.c: USB Mass Storage support registered -- MARK -- Any and all help would be appreciated. |
Have a look at the Mass Storage Device section of the Linux USB Guide.
|
Well, I did modprobe for two modules, and now there's something that shows up in usb-storage and also in /proc/scsi/usb-storage-0/1 and in /proc/scsi/scsi
/proc/scsi/scsi: Attached devices: Host: scsi1 Channel: 00 ID: 00 Lun: 00 Vendor: LEXAR Model: JUMPDRIVE Rev:1.10 Type: Direct-Access ANSI SCSI revision: 02 /proc/scsi/usb-storage-0/1: Host scsi1: usb-storage Vendor: LEXAR MEDIA Product: JUMPDRIVE Serial Number: 0000000115721 Protocol: Transparent SCSI Transport: Bulk GUID: 05dc00800000000000115721 Attached: Yes Now, what do I do? |
Followup:
I ended up running the command mount /dev/sda1 /mnt/usbkey and it worked! Now my question is, how can I chmod my usbkey so I don't have to log in as SU to move files onto it and remove files? I ran the command chmod 777 /mnt/usbkey but it didn't work.... |
Okay, so I can mount it and everything, but now I can't write to it... Here's my fstab settings for my USB Key....
/dev/sda1 /mnt/usbkey vfat user,noauto,rw 1 2 |
r_jensen11, I have a keychain usb storage device. Here is what I do so that I can mount it:
Add this line to your /etc/fstab /dev/sda1 /mnt/usbkey vfat noauto,users,umask=000,gid=600 0 0 Then you can setup a link to mount just like you would another harddrive. Dave |
Thanks, ddpicard. Here're my problems though, with my current settings:
When I boot up, I have to manually type in modprobe usb-storage;modprobe usb-uhci How can I get it so I don't have to do that? I tried using putting both commands in my /etc/modules.conf, each in their own line, so the first read modprobe usb-storage, but there was an error whenever I booted, so I changed it to usb-storage, and that still didn't solve any problem. How can I fix that? My other problem is, how can I get it so it doesn't think it's a read-only device? If it's with setting up a link, how would I go about doing that? Sorry, but I'm still very much a newby... |
All times are GMT -5. The time now is 11:13 PM. |