NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
sandisk cruzer microHello. Ok, I have a 2GB Sandisk Cruzer Micro. The specs say it is Linux compatible, but I really do not know how to get debian to recognize it. (I need to transfer files to it) any help would be greatly appreciated... Thank you, Christina |
is there a manual?
Normally you just load the 'usb-storage' driver (modprobe usb-storage) and the drive appears as something like /dev/sda - although you normally mount the first partition (/dev/sda1):
mount -t vfat /dev/sda1 /mnt
SanDisk produce memory with a strange proprietary format which they claim is superior to the usual FAT used on these devices - that may be true, and if you have such a device then the instructions should mention that (and probably also tell you to install a driver on WinDos). If you do have a strange partition then you will need to reformat the memory before you use it - they are designed to pretty much act as disks, so you'd do:
fdisk /dev/sda
Then you'd create a FAT32 partition and format it using 'mkfs vfat /dev/sda1' - or something like that.
more usb woes
Thank you so very much for your help!
Ok, so I ran: modprobe usb-storage
and then: tail -f /var/log/messages
Produced this message:
: scsi1 : SCSI emulation for USB Mass Storage devices
: Vendor: SanDisk Model: U3 Cruzer Micro Rev: 2.18
: Type: Direct-Access ANSI SCSI revision: 02
: Vendor: SanDisk Model: U3 Cruzer Micro Rev: 2.18
: Type: CD-ROM ANSI SCSI revision: 02
: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
: SCSI device sda: 4001425 512-byte hdwr sectors (2049 MB)
: sda: Write Protect is off
: /dev/scsi/host1/bus0/target0/lun0: p1
: USB Mass Storage support registered.
I would rather not format it if I didn't have to, although I have heard that this won't affect the u3, cdrom software part. But, as much as I am trying to get files off of my debian, I am also trying to get a file from the cruzer to debian. (If I have to format, as long as I can see it on win2k, I can recopy the file.)
Do you think I can mount it as is? and, if so, what is the command? I tried mount /dev/scsi/host1 and the same with /bus0/target0/lun0 ... but, no go
if I restart debian, any chance it will mount the cruzer?
Thank you again, so very much.
Christina
possible success?
Wait, wait, wait...
I just did this....
1) mkdir /media/USB_DISK
2) mount /dev/sda1 /media/USB_DISK
and now I see it in computer as a drive, just like the floppy and cdrom...
I just accessed it, I can see my files, going to try to copy one from and one to...
ok, I can copy a file from it, but can't use copy and paste for a file from debian.
do I have to use command like to write to it?
I also opened a doc and tried to save it to the usb, but I received a input/output error.
any ideas?
I see the light at the end of the tunnel..
thank you again,
Christina
one last step
I really have to stop posting until I try some things on my own. I am sorry, but maybe posting my steps will help another newbie in the future?
but.. I got it ... almost.
I was able to open a root terminal and copy a file to it loggen in as root, now, I think all I need to do is to change permissions so that me, as user, can write to it.
Thanks again!
Christina
/etc/fstab
If you want ordinary users to be able to mounts and read/write, then you need an /etc/fstab entry. It would look something like:
/dev/sda1 /mnt/USB_DISK vfat defaults,user,noauto 0 0
Type 'info fstab' for information on the format and what the different fields are.