LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-22-2005, 01:48 PM   #1
lonecrow
Member
 
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274

Rep: Reputation: 30
How Mount USB Drives!!


I've tried a lot of thing I read all over here, but can't access neither my thumstick nor my external drive with my USB. Where is it supposed to be mounted when I plug them in my USB port? I know it sees it because the light on both my HD and USB key are lit up. But I've tried accessing /proc/usb and I only see folders containing files. Those folders are as follow 001,002...

Help me out here please!!! I like linux, but can't continue using it if I can't get that right!

Cheers all
 
Old 10-22-2005, 02:38 PM   #2
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
/dev/sda1 is the first USB device, so mounting it would be:
mount -t vfat /dev/sda1 /some/folder

Add it to your fstab to be able to mount it as a user:
/dev/sda1 /some/folder vfat rw,user,noauto 0 0

Kde and gnome-thingy also allow Dekstop icons for the devices, so you can acces them using the desktop.
 
Old 10-22-2005, 02:38 PM   #3
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
btw. You also must load the usb_storage module in the kernel for USB sticks.
 
Old 10-22-2005, 02:43 PM   #4
lonecrow
Member
 
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274

Original Poster
Rep: Reputation: 30
Quote:
/dev/sda1 /some/folder vfat rw,user,noauto 0 0
Wont that mount my HD?? I though sda1 was the first partition of my hd... Anyways I'll try it now.

Also, about that kernel thing, Im using Suse 10, is it activated by default? And if not, the only thing Im able to do (because Im a newbie) is open the kernel config file... so is that what you meant?

Thanks again
 
Old 10-22-2005, 02:44 PM   #5
lotusjps46
Member
 
Registered: Apr 2003
Location: Dallas
Distribution: Vector Linux, Suse 10.1
Posts: 186

Rep: Reputation: 30
Look in /mnt. The USB drive is probably mounted thre, under /mnt/usb or something like that. You did not say what distro ou are using, so that is kind of a generic answer. Good luck.
 
Old 10-22-2005, 02:47 PM   #6
lonecrow
Member
 
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274

Original Poster
Rep: Reputation: 30
I just said I was using Suse 10. And I've looked there, nothing in /mnt execpt CDROM and XMMS_CDROM or something like that. And in /media, there's not sign of USB either.
 
Old 10-22-2005, 05:11 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,165

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
Look at the output of the dmesg command. It will tell you if the drives are recognized and their devices IDs.

What type of drive are using as for your system drive? IDE device IDs are /hda, /hdb... SATA, SCSI and USB will be /sda, /sdb etc... With SATA, SCSI or USB the first drive recognized will be assigned sda, the next sdb and so on.
 
Old 10-22-2005, 06:03 PM   #8
lonecrow
Member
 
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274

Original Poster
Rep: Reputation: 30
OK I didnt know that USB drives were recognized as sda the same thing as my HD. Im gonna look over that tomorrow and post to see if it has worked.
Quote:
Look at the output of the dmesg command.
What is that? I issue my command and put that as well? like ls /home/matt dmesg ?? Thanks!
 
Old 10-22-2005, 06:21 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,165

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
dmesg is a console command to examine or control the kernel ring buffer.
http://linux.about.com/library/cmd/blcmdl8_dmesg.htm

The command is just dmesg.
 
Old 10-22-2005, 09:52 PM   #10
lonecrow
Member
 
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274

Original Poster
Rep: Reputation: 30
ok I get it.

Thanks!
 
  


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
Any problems with USB-port PCMCIA cards and USB Floppy Drives? DreameR-X Linux - Laptop and Netbook 9 05-14-2005 02:37 PM
udev, USB Flash Drives, and usb-mount talkingwires Debian 13 11-07-2004 01:15 PM
Give user permission to mount/use cdrom drives or usb drives zwyrbla Linux - Newbie 2 08-23-2004 05:30 PM
using autofs to auto mount my usb drives DesertWolf0132 Slackware 8 07-30-2004 11:27 AM
mount usb module then mount usb hard drive guanyu Linux - Hardware 1 10-08-2003 12:50 PM


All times are GMT -5. The time now is 05:29 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration