LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-15-2005, 02:14 AM   #1
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Rep: Reputation: 15
USB-Stick? Please help


Hi,

I want to use a usb-memory-stick with Debian sarge kernel 2.6.6-1.
Know anybody where I can find a HOWTO or something else???

Because I didnīt find any documentation..



Greetz
 
Old 02-15-2005, 02:54 AM   #2
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
plug it in. if itīs not automounted, look which device it is (dmesg) and mount it as normal.
or have u a different problem?
 
Old 02-15-2005, 03:22 AM   #3
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Original Poster
Rep: Reputation: 15
I donīt know how to use it.

Do you mean I have to find out the device for the usb-ports
and then to implement the device to /etc/fstab ???

How I can find out out which device it is?
 
Old 02-15-2005, 03:39 AM   #4
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
When you plug it in, it'll probably be detected as /dev/sda1 - check with dmesg.

Then you want to mount it as a filesystem. USB sticks are FAT-formatted when you buy them, so create a mount point (I use /mnt/usb) and mount /dev/sda1 (or whatever) to that mount point.
 
Old 02-15-2005, 03:47 AM   #5
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
after plugging in, dmesg should show a new device attached e.g.
Quote:
usb 1-1: new full speed USB device using uhci_hcd and address 4
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
Vendor: LEXAR Model: DIGITAL FILM Rev: /W1.
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 125952 512-byte hdwr sectors (64 MB)
sda: Write Protect is off
sda: Mode Sense: 0d 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 125952 512-byte hdwr sectors (64 MB)
sda: Write Protect is off
sda: Mode Sense: 0d 00 00 00
sda: assuming drive cache: write through
sda: sda1 sda2
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
usb-storage: device scan complete
now u can mount the stick or make an entry in /etc/fstab.
 
Old 02-15-2005, 04:08 AM   #6
bornhj
Member
 
Registered: Sep 2004
Location: Canberra, Australia
Distribution: Fedora Core 3, Ubuntu Hoary, Slack 10.1
Posts: 120

Rep: Reputation: 15
Then, its:

mkdir /mnt/usb (if it doesn't exist)
mount -t vfat /dev/sda1 /mnt/usb

(I think. Works in Gentoo LiveCD)
 
Old 02-15-2005, 04:09 AM   #7
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Original Poster
Rep: Reputation: 15
Ok,

thanks a lot.. I will try and then give you a feedback...
 
Old 02-16-2005, 02:12 AM   #8
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Original Poster
Rep: Reputation: 15
Hi,

many thanks...it works


device - /dev/sda1


Greetz
 
  


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/umount usb stick - PQI Intelligent Stick 2.0 sandbag Linux - Software 5 05-06-2005 11:12 AM
usb stick jwijesundra Linux - Newbie 2 02-03-2005 11:51 PM
USB stick bardia_amir Linux - Hardware 3 08-29-2004 11:30 PM
USB problems: Memorex USB stick 256MB and PSX to USB adapter by Radio Shack Knuckles T15 Linux - Hardware 1 05-19-2004 06:58 PM
USB-Stick/usb-storage JC_at_LQ Linux - General 2 07-14-2003 06:56 AM

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

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