LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-17-2005, 12:13 PM   #1
bbslackuser
LQ Newbie
 
Registered: Dec 2004
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Installing USB Pen Drive


Hey All,

I'm having trouble installing my pen drive in slackware, I don't know where to start. I understand that I have to set a mount point, but how do I do that?
 
Old 01-17-2005, 12:59 PM   #2
drisay
Member
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 30
the usual mounting of a usb pen drive is like this:
mount -t vfat /dev/sdaX /some/directory

-t vfat meaning that it is formatted with fat

/dev/sdaX: you may need to play around with this a little to find exactly which drive letter it is. it could sda1 like it could be sdb1, etc.

and if you want to be able to hotplug your pen drive... you'll need hotplug running on your box.
 
Old 01-17-2005, 01:01 PM   #3
bdrake
Member
 
Registered: Aug 2004
Location: Montrose, CA
Distribution: Slackware, SuSE, OpenZaurus
Posts: 45

Rep: Reputation: 16
Check to see if your kernel is recognizing your USB hardware. Type dmesg and look for lines such as:

usb.c: new USB bus registered, assigned bus number 1
ehci-hcd.c: USB 2.0 support enabled, EHCI rev 1. 0
hub.c: USB hub found
hub.c: 6 ports detected
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 11 for device 00:10.0
PCI: Sharing IRQ 11 with 00:12.0
uhci.c: USB UHCI at I/O 0xd000, IRQ 11
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 5 for device 00:10.1
uhci.c: USB UHCI at I/O 0xd400, IRQ 5

Type lsusb and see what it lists. You should see lines for Bus 001, Device 001, etc. Plug in your pen drive and type lsusb again. If the list changes, you're making progress.
Type dmesg again and look for messages at the bottom concerned with usb. In particular, look for something like

Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 253952 512-byte hdwr sectors (130 MB)
sda: Write Protect is off
sda: sda1

If you see that, you have found your pen drive. mount /dev/sda1 /mnt/usb (or wherever you want), and you're off and running!

--Barry

Last edited by bdrake; 01-17-2005 at 01:03 PM.
 
  


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
Usb Pen Drive vivekthemind Linux - Hardware 4 09-30-2005 05:09 AM
USB Pen Drive fuoi2 Linux - Newbie 10 09-08-2004 08:03 AM
USB Pen Drive on 2.6.x LST Linux - Hardware 1 05-02-2004 10:25 PM
USB Pen Drive rlculver Linux - Hardware 1 11-08-2003 09:30 AM
problem with usb pen drive dryhte Slackware 3 05-20-2003 01:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:49 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