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.
Hi, it's really wierd, ih ave this 256 meg Pen Drive that i heard will jsut show up as an icon on your desktop when you put it into the USB.. for some reason i'm not getting it.. do i have to mount it or something?
a pen drive are those external small usb hard drives..
You probably do need to mount it. I would try (unless you have a SCSI drive being /dev/sda, in which case you may need to use /dev/sdb or something) "mkdir /mnt/flashdrive; mount /dev/sda1 /flashdrive".
If you have trouble knowing what device it is, you may want to look at the output of "cat /proc/scsi/scsi" and try to find it there.
I don't know why USB flash drives pretend to be SCSI devices, but every one that I've seen has.
If you still don't have it working, you may need to partition it with fdisk <device name>.
Finally, if you want it to start showing up on your desktop automatically, add a line for it to /etc/fstab that automounts it as necessary.
linux:/home/mark # mount /dev/sda1 /flashdrive; mount /dev/sda1/flashdrive
mount: you must specify the filesystem type
mount: can't find /dev/sda1/flashdrive in /etc/fstab or /etc/mtab
linux:/home/mark #
ok, i got it to work and now i get this
linux:/home/mark # cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: USB Model: Flash Drive Rev: 1.12
Type: Direct-Access ANSI SCSI revision: 02
linux:/home/mark #
Originally posted by minm linux:/home/mark # mount /dev/sda1 /flashdrive; mount /dev/sda1/flashdrive
mount: you must specify the filesystem type
mount: can't find /dev/sda1/flashdrive in /etc/fstab or /etc/mtab
linux:/home/mark #
This is the exact error i get =\
You want to mount /dev/sda1 not /dev/sda1/flashdrive
/dev/sda1 is the partition that you're trying to mount from the sda device (In this case, your flash drive)
Try editing /etc/fstab with the following line:
/dev/sda1 /mnt/flashdrive vfat noauto,user,rw 0 0
be sure to "chgrp users /mnt/flashdrive" and chmod it 775, so users can read from and write to it.
If you view /dev/sda with fdisk or cfdisk (don't edit the partition table if you already have data on the drive), how many partitions are on your flash drive and what type are they?
When I got mine, I had three or four partitions of random types on there. I deleted them, and created one Windows partition (hey, I'm going back and forth between school and home, gimme a break! :-P), formatted it, and it worked. (Oddly enough, it worked with a Windows box even before I did that...)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.