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.
I am puzzled as to why I cannot mount a memory stick as a mass storage device. The particular device belongs to my daughter and she uses it on Windows XP. I have Slackware current installed on the same box. I already have a mount point set-up for a digital camera that mounts perfectly at /mnt/camera on /dev/sdb1 (sda1 is my SATA drive).
lsmod shows the usb-storage driver. Looking /proc/bus/usb/devices shows details of the device and mentions the usb-storage driver.
I have another box with Zenwalk 1.2 installed and I have the same problem. Any ideas why the device won't mount?
What error message do you get when you try to mount it? It's really hard to guess what's wrong without it. Is there anything wrong in "dmesg" when you try to mount it?
Originally posted by Half_Elf What error message do you get when you try to mount it? It's really hard to guess what's wrong without it. Is there anything wrong in "dmesg" when you try to mount it?
bash-3.00# mount /dev/sdb1 -t vfat /mnt/hd/
mount: special device /dev/sdb1 does not exist
There is nothing with a time stamp in /var/log/messages, /var/log/syslog or dmesg that relates to the above
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
What is the output from the command ' /sbin/fdisk -l '?
What is the mount command you are trying?
Post output of the command ' /sbin/lsmod ' and ' /sbin/lsusb '?
Are you sure this drive is assigned to /dev/sdb1? Plug in the drive and type "dmesg", on the few last lines, it should tell you which device it is using.
Or you might want to try "cfdisk /dev/sdb" to take a look at the partition table? Most flash drive don't have partition (so you have to load the whole /dev/sdb) I believe.
From what I've heard, the "usb-storage" driver shouldn't be enabled as it often causes problems with some flash drives and stuff (even though that's exactly what it's meant for. . . hmm. . .)
Why is it enabled in the first place? I use Slack, too, and it wasn't enabled by default on my machine, I'm pretty sure. . .
got the same problem... the stick is only readable when plugged in on boot. I'm using Fedora core 4 (64-bit) but it seems lousy... changing back to SuSE again!!! Anyway : trying out the automount config files didn't work out. when not plugged in on boot I didn't even get a mounting point in /media. Any Idea?
Ronald, I know this does not really help you, but since I did my little experiment and got all of the details from dmesg it has somehow kicked my system into action. The command that did not previously work, now does I have even entered the details into the /etc/fstab so that a normal user can mount the device with mount /mnt/usb-stick. I am totally puzzled by all of this but it is probably worth taking a deep breath and logically step through the process from what works i.e. having it mounted from boot.
I just tried to set up a usb memory stick as well and ran across the same problem. If i plug it in, then boot i'm able to mount it, otherwise it doesn't seem to have a device node.
I might be stating the obvious, but i found that if you modprobe sd_mod then look at dmesg it will tell you where the node is. How can you set linux up to do this automatically? I thought i had configured auto loading of modules anyways.. I guess i could just explicitly load sd_mod on boot, but this doesn't seem like the best way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.