LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-15-2005, 04:26 AM   #1
slinkysteve
LQ Newbie
 
Registered: Jun 2003
Distribution: Debian 3.1
Posts: 11

Rep: Reputation: 0
Where can I find my usb drive?


I'm trying to view the contents of my usb drive. I'm using Debian 3.1 with the 2.6 Kernel and when I type dmesg I get the following output:

Quote:
usb 2-1: new high speed USB device using address 7
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 1 port detected
usb 2-1.1: new high speed USB device using address 8
scsi2 : SCSI emulation for USB Mass Storage devices
Vendor: Generic Model: USB Flash Disk Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
/dev/scsi/host2/bus0/target0/lun0: unknown partition table
Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
USB Mass Storage device found at 8
in addition to this, lsusb gives me:

Quote:
Bus 002 Device 008: ID 3538:0022 Power Quotient International Co., Ltd
Bus 002 Device 007: ID 3538:0021 Power Quotient International Co., Ltd
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 045e:0047 Microsoft Corp. IntelliMouse Explorer 3.0
Bus 001 Device 001: ID 0000:0000
Could someone tell me what I need to do to actually access the contents of the drive?

Many thanks

Steve
 
Old 06-15-2005, 04:33 AM   #2
mjuhannus
Member
 
Registered: Sep 2004
Location: Finland
Distribution: Ubuntu 10.04, Debian 5, OpenSUSE 11.3
Posts: 60

Rep: Reputation: 15
make a directory for mounting it (for example /mnt/usb/) and mount it with

mount /dev/sda1 /mnt/usb
 
Old 06-15-2005, 04:36 AM   #3
hardcorelinux
Member
 
Registered: Jan 2005
Location: India
Distribution: RHEL,CentOS,SUSE,Solaris10
Posts: 183

Rep: Reputation: 31
To access a usb drive you can add following lines to your /etc/fstab file

/dev/sda1 /mnt/usb_drive vfat noauto,users,rw,umask=0 0 0

then

mount /mnt/usb_drive
 
Old 06-15-2005, 04:41 AM   #4
slinkysteve
LQ Newbie
 
Registered: Jun 2003
Distribution: Debian 3.1
Posts: 11

Original Poster
Rep: Reputation: 0
Got it sorted, thanks for the info but I had to specify the filesystem type.

In the end I used

Quote:
mount -t vfat /dev/sda /mnt/usb
Thanks
 
  


Reply



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
Cannot find USB Drive Zedd129 Fedora 4 03-07-2005 05:43 PM
Mandrake Move 2.0 doesn't seem to find my USB flash drive Jeff59 Linux - Hardware 0 01-24-2005 07:21 PM
Cannot find USB Flash Drive jclieber Fedora 6 01-06-2005 06:27 AM
USB drive using different partitions (usb key thumb drive) Arodef Linux - Hardware 0 08-04-2004 06:36 PM
SUSE BOOT does not find SUSE/ usb drive PNUT Linux - Newbie 0 11-01-2003 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration