Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
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.
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 --
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
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
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.