LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Sandisk U3 2G USB Flash Drive doesn't mount! (http://www.linuxquestions.org/questions/slackware-14/sandisk-u3-2g-usb-flash-drive-doesnt-mount-4175440741/)

lkraemer 12-09-2012 11:52 PM

Sandisk U3 2G USB Flash Drive doesn't mount!
 
I use a Sandisk Cruzer U3 (2GB) USB Flash Drive to keep backup files of my Quicken and Moneydance software.
Slackware 14 doesn't detect or mount this USB Flash Drive.

I've Purged the U3 Software from the USB Flash Drive, and used Gparted to create the MSDOS Partition, formatted the Partition as fat32 with Gparted, and it always works on any other Linux Distro I try.

Slackware refuses to detect the Sandisk USB Drive. blkid, mount, and Gparted do not detect the USB Flash Drive in Slackware.

Why doesn't Slackware 14 (32 Bit) detect the USB Flash Drive?

Thanks.

Larry.

Didier Spaier 12-10-2012 12:07 AM

I would check which kernel modules it needs, comparing lsmod's output before / after having plugged it in on another Linux distribution and then check that these kernel modules be available on Slackware 14. If no, report it there, else modprobe it and see what you come up with.

cfdisk 12-10-2012 07:27 AM

Let us see the output:

cat /etc/fstab


.

lkraemer 12-10-2012 07:32 AM

Didier Spaier,
I booted my Linux Mint (Debian Edition) 201204 and ran lsmod on the Sandisk Cruzer U3 (2G) USB Drive.

The additional Modules that were in lsmod were:
Quote:

usb_storage 35245 0
uas 13175 0
modprobe -l should have shown a list of all modules available for the kernel, but the manpage shows that the -l option
was removed. So I just used mc to go down the directories at /lib/modules/'uname -r'
Code:

 
# cd /lib/modules/3.2.29-smp
# mc

I located these modules (*.ko) at: /lib/modules/3.2.29-smp/kernel/drivers/usb/storage

Code:

# modprobe usb_storage
# modprobe uas

got my Sandisk U3 (2G) USB Flash Drive auto mounting, and I was able to access it.

Should these modules be reported (somehow) so they are loaded by the system, or is this a normal situation?

It's the first time I've run across a USB Flash Drive that wasn't automounted, on any Distro I've used, and that has been a bunch.....


THANKS! GREAT TIP!

Larry

lkraemer 12-10-2012 07:39 AM

cfdisk,
Here is the listing of:
Code:

cat /etc/fstab
after I modprobed the missing modules.

Code:

root@slackware:~# cat /etc/fstab
/dev/sda3        swap            swap        defaults        0  0
/dev/sda1        /                ext3        defaults        1  1
/dev/sda2        /home            ext3        defaults        1  2
#/dev/cdrom      /mnt/cdrom      auto        noauto,owner,ro,comment=x-gvfs-show 0  0
/dev/fd0        /mnt/floppy      auto        noauto,owner    0  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0
tmpfs            /dev/shm        tmpfs      defaults        0  0
root@slackware:~#

Thanks.

Larry

Didier Spaier 12-10-2012 09:02 AM

For the automount to work your user should be member of the plugdev group.

Still, uas and usb-storage kernel modules should be automatically loaded when you plug in the device (this is the case here).

Please check that /etc/rc.d/rc.udev be executable. But my guess is it is, otherwise you would encounter other problems, like your mouse and possibly your keyboard not working.

cfdisk 12-10-2012 09:59 AM

I only edited /etc/fstab and it was just enough.

In my particular case I created an USB mount point by adding
"/dev/sdb1 /mnt/memstick auto noauto,owner,users 0 0"

lkraemer 12-10-2012 10:26 AM

Didier Spaier,
I had previously set up my groups as:
Code:

users lp wheel floppy dialout audio video cdrom plugdev power netdev scanner vboxusers
and it is executable:
Quote:

bash-4.2$ ls -alt /etc/rc.d/rc.udev
-rwxr-xr-x 1 root root 5882 Jul 24 17:58 /etc/rc.d/rc.udev
Thanks.

Larry


All times are GMT -5. The time now is 08:41 PM.