LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-24-2007, 03:49 PM   #1
firedancer
Member
 
Registered: Apr 2007
Posts: 146

Rep: Reputation: 15
Question can't mount usb stick


Hi , i'm trying to mv some files from my usb stick to my debian 4.0.1 server
but when i stick it in ,nothing happens , i do a lsmod , one usb module is loaded, but i guess i need the usb_storage module ,i don't know if it's in the kernel , i use the kernel i got with the install, i can't modprobe ,do i ap-get install modprobe ,i'll try it now to start



thnx a not so noob noob
 
Old 10-24-2007, 04:03 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
What did you expect to happen, exactly? Unless you are in X (and even then, a Desktop Environment that automatically mounts/displays devices) nothing is going to happen when you plug in a USB drive.

You need to mount the device to the filesystem before you can get access to it.

Something like:

Code:
mount -t vfat /dev/sda1 /mnt/usb
You will need to create the /mnt/usb directory (or mount it to a directory that does exist) and might need to adjust the device node, depending on your system's configuration.
 
Old 10-24-2007, 05:20 PM   #3
andrews-mark
Member
 
Registered: Feb 2007
Location: London
Distribution: debian
Posts: 108

Rep: Reputation: 15
to what MS3FGX said, i would add that you should first do
Code:
fdisk -l
as root. This will tell what disks of any kind are attached and recognized by your system. After that you can do the previously mentioned mount command using the /dev location specified by fdisk.

the simple program usbmount can be used to automatically mount usb drives. other more sophisticated auto-mounting programs exist on the feature-full window managers like gnome, but usbmount is simple and minimal (personally, that's the way I think things ought to be).

-mark
 
Old 10-24-2007, 06:25 PM   #4
firedancer
Member
 
Registered: Apr 2007
Posts: 146

Original Poster
Rep: Reputation: 15
ok, what i aspected , I wasn't thinking on automatically mounting the usb , i tried using mount , but i'm a semi noob sort of speaking
is that also the case with my floppy drive
I guess also then, i'm getting an "Error data CRC error:track 0,head 1,sector 2, ..you must specify a filesystem

well about nodes ,i started reading ,but am busy learning 10 things at a time ,so i'm trying to "digest" it all

i'll try the suggestions/advice and thnx MS3FGX & andrews-mark
 
Old 10-24-2007, 07:07 PM   #5
LlNUX
Member
 
Registered: Oct 2007
Location: Sydney, Australia
Distribution: Debian
Posts: 63

Rep: Reputation: 15
try follow this steps: How to mount usb in linux
let me know if it helped..
 
Old 10-26-2007, 09:24 AM   #6
firedancer
Member
 
Registered: Apr 2007
Posts: 146

Original Poster
Rep: Reputation: 15
well , i installed usbmount,but nothing, the usb ports are detected, but not the sticks, maybe kernel module issue and, but this is an old box so the usb was added and sometimes fails (with dsl and other os) it's something else , what's the other command to modprobe , I have a Debian Etch netinstall
it doesn't show up in fdisk -l , so no luck there,

i'll just have to upload the files , but that's what i'm busy learning now, and my fast-rookie-noob alternative is boot livecd do what i heve to do (basiccally adding the new website files in /www, hahaha)
and reboot in Debian Etch

I can however use the cdrom too

firedancer
 
Old 10-26-2007, 11:18 AM   #7
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
http://www.linuxquestions.org/questi...ev#post2805489
 
  


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
how do I mount my usb stick? Kerel2000 SUSE / openSUSE 5 12-31-2006 07:09 AM
mount/umount usb stick - PQI Intelligent Stick 2.0 sandbag Linux - Software 5 05-06-2005 12:12 PM
mount, Usb memory stick amer_58 Linux - Newbie 2 03-25-2005 06:44 AM
usb memory stick mount nadroj Linux - Hardware 10 01-13-2005 11:41 PM
How to mount usb stick yotamk Debian 6 11-21-2004 01:46 AM


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