Failure to detect SanDisk Cruzer 256 USB Flash Drive on RH 8.0
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Failure to detect SanDisk Cruzer 256 USB Flash Drive on RH 8.0
I have RH 8.0 on my laptop (Compaq Pressario 3080us), alongwith M$ XP. The USB drive is easily recognized on the M$ partition.
Since there is some amount of tweaking to be done for the drive to be recognised on linux, I searched the net and got an article at
"Using a USB flash drive with Linux"
<sorry had to remove the URL - forum rules for new members>
Basically I did the following.
1. insmod'ed usb-storage
2. Added a new line in the /etc/fstab
/dev/sda1 /mnt/usbstick vfat user,noauto,umask=0 0 0
3. Created a directory /mnt/usbstick
4. Plugged in my flash drive
5. Did (on a second terminal)
tail -s 3 -f /var/log/messages
to see if the drive was detected. It was NOT.
6. Obviously I couldnt mount /dev/sda1 as the device was not detected. Btw, I tried to mount it without success.
Please let me know what I am doing wrong here. Has anyone placed this issue before.
The problem is not you. The problem is with SanDisk only supporting Windows and Macs.
I have the exact same device as you, and I managed to get it working (somewhat) in Gentoo 1.4.
First, I did everything that you did, then:
1. Unplugged/replugged in the drive. On my machine it gets noticed every time on the second try if not the first.
2. Checked dmesg.. noticed.
3. /dev/sda1 not a valid block device. (What??)
4. su; rmmod usb-storage; insmod usb-storage
5. mount /dev/sda1 (I have the same fstab entry as you).
6. Works. If it doesn't, I repeat steps 1 to 5 until it does.
I found that as soon as I got it working, I zero'd it:
dd if=/dev/zero of=/dev/sda1 bs=4096
and made a filesystem:
mkdosfs /dev/sda1
and I was able to mount and unmount pretty much normally and on the first plugin/try.
But soon that went to hell and the fs got corrupted.
So, I guess we are stuck with crappy products thanks to the brilliant geniuses and SanDisk, who cut their market for the Cruzer Mini in half to save some bucks. I'm sure they have pissed off many-a-customer.
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802
Rep:
SanDisk Cruzer support is hit and miss.
One factor is making sure you have all of the scsi services enabled. The USB Mass Storage devices are all emulated as a scsi device. Also you need to make sure you have the usb-storage module installed. Do a lsmod as root to see if the module is loaded. If not, then do an insmod to install it.
In addition to these problems, you may have others as well. For instance, my Desktop computer has no problems with mounting my SanDisk Cruzer Mini 128, but my laptop,... lost cause. I don't know if it's because of the USB chipset support in the USB modules or what...
On my desktop machine though, I have to umount with the lazy option as root to unmount... Unless I am doing something drastically wrong...
So there are issues with the SanDisk Cruzers. It's worth noting however, that the single slot SanDisk SD Card USB readers usually work without issue... Strange. You'd think they were the same technology.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.