LinuxQuestions.org
Visit Jeremy's Blog.
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 12-09-2003, 04:09 PM   #1
binkybuckle
Member
 
Registered: Jul 2003
Distribution: debian
Posts: 40

Rep: Reputation: 15
How can I use a USB Drive with linux


I have a USB drive and wish to be able to connect it into linux.

I tried to 'mount /dev/ttyUSB0' but it said their was no such block device.

Can anyone help?
Has anyone done this before?
 
Old 12-09-2003, 04:22 PM   #2
codedv
Member
 
Registered: Nov 2003
Location: Slough, UK
Distribution: Debian
Posts: 146

Rep: Reputation: 15
I just plug it in and at the shell prompt:
$ mount -t ext3 /dev/sda1 /mnt/usbdrv

I have done that with camera's, compact flash and USB pens.
 
Old 12-09-2003, 04:32 PM   #3
binkybuckle
Member
 
Registered: Jul 2003
Distribution: debian
Posts: 40

Original Poster
Rep: Reputation: 15
I tried the command you suggested, it came with the same error. I thouht sda devices were only scsi devices.
 
Old 12-09-2003, 05:01 PM   #4
codedv
Member
 
Registered: Nov 2003
Location: Slough, UK
Distribution: Debian
Posts: 146

Rep: Reputation: 15
On my Redhat system USB devices com under sda. I'm not sure what they would be on Debian: try /dev/usb0 or /dev/input
 
Old 12-09-2003, 07:14 PM   #5
loonix
Member
 
Registered: Aug 2003
Location: Sydney Australia
Distribution: CentOS/archlinux
Posts: 40

Rep: Reputation: 16
I think you will find that you need to make sure you have scsi and mass storage device loaded into kernel. If you are using one of the newer distro's then hotplug should do the rest.
I am using slack 9.1 and I have no trouble. I put the usb stick in and it is ready for mounting: via root@pc01:~# mount -t ext3 /dev/sda1 /mnt/crap
 
Old 12-09-2003, 07:24 PM   #6
jared0422
LQ Newbie
 
Registered: Dec 2003
Location: Taiwan,ROC / Asia
Distribution: Redhat
Posts: 1

Rep: Reputation: 0
1. Install usb core modules first:

insmod usbcore
insmod usb-uhci (If your mainboard uses intel 430TX, 440FX, 440LX, 440BX, i810, i820 or VIA PCI chipsets (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro133)).
or
insmod usb-ohci (If your mainboard uses non-Intel architectures: SiS (aktual 610, 610 and so on) or ALi (ALi IV, ALi V, Aladdin Pro..))


2. Install your device driver:
Use USB keyboard and USB mouse:
insmod input
insmod hid
insmod mousedev
insmod keybdev
Now you can plug-in your USB keyboard and USB mouse

Use CardReader:
insmod scsi_mod
insmod sd_mod
insmod usb-storage
Then mount it:
For example: mount -t ext2 /dev/sda1 /mnt

These commands have been tested by Redhat 9.0 environment

Last edited by jared0422; 12-09-2003 at 09:56 PM.
 
Old 12-09-2003, 07:31 PM   #7
loonix
Member
 
Registered: Aug 2003
Location: Sydney Australia
Distribution: CentOS/archlinux
Posts: 40

Rep: Reputation: 16
You could try this article out and see if it helps.
http://www.newsforge.com/software/03.../2214256.shtml
 
  


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
Linux on a USB hard drive without USB-FDD BIOS option jaro Linux - Hardware 1 07-15-2005 02:12 AM
Linux as a USB drive AngryLlama Linux - Software 6 05-03-2005 12:30 AM
Booting Linux off of a USB drive hari69 Linux - Laptop and Netbook 0 10-23-2004 10:08 AM
USB drive using different partitions (usb key thumb drive) Arodef Linux - Hardware 0 08-04-2004 06:36 PM
Linux on a USB hard drive without USB-FDD BIOS option jaro Linux - Hardware 6 05-27-2004 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:37 AM.

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