LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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, 03: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, 03:54 AM   #2
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 511

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, 04: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, 04:39 AM   #4
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
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, 04:47 AM   #5
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 511

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


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