LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-01-2006, 05:28 AM   #1
hemanth_ap
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
Cant install USB Flash Drive Kingston DTI/1


I could not use my Kingston DataTraveler 2.0 1GB. I'm new to Linux.
I have created a directory for Data traveler /media/flash
and added line /dev/sda1 /mnt/flash vfat user,noauto,umask=0 0 0 in fstab
tried to mount but it gives error
'mount: special device /dev/sda1 does not exist'
I had also tried loading 'modprobe usb-storage' then mounting Flash Drive

Linux Version:
# more /proc/version
Linux version 2.6.9-5.0.3.ELNextag_Dev (root@localhost.localdomain) (gcc version
3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #2 Mon Apr 11 11:54:04 IST 2005


# /proc/bus/usb/devices
T: Bus=01 Lev=01 Prnt=01 Port=05 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0930 ProdID=653d Rev= 1.00
S: Manufacturer=Kingston
S: Product=DataTraveler 2.0
S: SerialNumber=0603110357402
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=31875us
E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=64ms


# lsmod | grep -i usb
usb_storage 30728 0
scsi_mod 59528 1 usb_storage

Somebody please help me
- Hem

Last edited by hemanth_ap; 05-01-2006 at 05:32 AM.
 
Old 05-01-2006, 07:30 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946
First of all, I suggest you always make sure the device is mountable on the command line before you go adding a line to fstab. You don't want to go mucking about with an important system file until you know what you're going to change.

One thing I can suggest is to try to mount /dev/sda instead of /dev/sda1. The 'sda' is the drive itself, and the '1' at the end points to a single partition on the drive. But fat formatted removable drives do not always have separate partitions; the whole drive can be used on its own. You often see this with flash drives and cards, .mp3 players, and any device that has flash memory really.

As root, try 'mount -t vfat /dev/sda /mnt/flash'. If it mounts successfully, then you can change your fstab.

Aand don't forget to always unmount the flash drive before you remove it.
 
Old 05-03-2006, 01:15 AM   #3
hemanth_ap
LQ Newbie
 
Registered: May 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Hi
Plugged the Flash Drive. Then Started the Machine.
logged as root. tried to mount the Flash Drive but it gives error message
"mount: special device /dev/sda does not exist"
tried 'modprobe usb-storage' then mount. Still giving same error.
 
Old 05-03-2006, 02:01 PM   #4
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946
Ok, try this. First, you need to have the sg3-utils installed. You don't mention which distro you're using, so you'll have to find out how to install it yourself.

Then you can use the command sg_scan -i to find the scsi device number of your device, probably sg0, but if you have more than one scsi/usb device plugged in it may be something else. Then, run sg_map to find out what the actual mount point will be. sg0 will probably map to sda, sg1 to sdb, etc.

Finally, once you know all that, you can mount the device using that mount point. Be sure to try both sd* and sd*1.

If it still doesn't work, then you might have something wrong with your usb setup.

I got it all from this page:
http://www.cs.sfu.ca/%7Eggbaker/personal/cf-linux
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount Kingston USB 2.0 pen drive muru Fedora 2 02-16-2006 07:02 AM
install lilo/grub on a USB flash drive? flystar06 Linux - General 3 06-14-2005 08:48 PM
install smoothwall in a usb flash drive SlipAway172 Linux - Distributions 0 04-21-2005 07:34 PM
Install MandrakeLinux with bootable USB Flash Drive lothario Mandriva 1 12-10-2004 09:54 AM
Frustrated with Kingston 512MB DataTraveler USB Drive 2.0 alan8373 Linux - Hardware 10 11-08-2004 08:47 AM


All times are GMT -5. The time now is 04:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration