LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   problem installing pendrive (https://www.linuxquestions.org/questions/debian-26/problem-installing-pendrive-418067/)

melinapaixao 02-21-2006 01:14 PM

problem installing pendrive
 
I don`t have experience in Linux. I have a Debian distribution and I`m trying to use a pendrive. There isn`t any folder named usb, just floopy and cdrom. I`ve tried the command mount -t usbfs/dev/sda1/mnt/usb and I didn`t receive any answer from de computer. But I tried to find some folder to open the contents of the pendrive and I didn`t find.

Please, help me!

Melina:confused:

kloss 02-21-2006 01:21 PM

Quote:

Originally Posted by melinapaixao
But I tried to find some folder to open the contents of the pendrive and I didn`t find.

What about /mnt/usb ? (ls /mnt/usb...)

dracae 02-21-2006 01:22 PM

You need to create the directory and assuming it is formated with vfat use a line like this
mount -t vfat /dev/sda1 /media/usb
If you use gnome you can have it automatically mounted when inserted with pmount and gnome-volume-manager

melinapaixao 02-21-2006 02:13 PM

again
 
Thanks kloss and dracae
I`ve tried to do the command mount -t vfat /dev/sda1 /media/usb and appeared the message: mount point /media/usb does not exist!

I don`t know what I can do!

kloss 02-21-2006 02:14 PM

Read the first six words of dracae's post. ^^

melinapaixao 02-21-2006 02:29 PM

But what directory? there is a directory /dev/usb and I made one named /dev/media/usb

When I tried mount... the same message appeared!

kloss 02-21-2006 02:30 PM

ok, ok, sorry: mkdir /media/usb

melinapaixao 02-21-2006 02:42 PM

again again
 
Now the follow message appeared: /dev/sda1 is not a valid block device!
:cry:

dracae 02-21-2006 02:49 PM

what are the last few lines from dmesg after inserting the usb device?

lestoil 02-21-2006 02:57 PM

debian pendrive
 
Have a look at http://www.linuxquestions.org/linux/...d_Reader_Howto
under tutorials section at LQ site. The author describes how to setup usb card reader which also applies to pen drive. Welcome to debian:)

melinapaixao 02-21-2006 03:06 PM

USB new device connect on bus1/2, assigned device number 3
USB device not accepting new address=3 (error=-110)
USB new device connect on bus1/2, assigned device number 4
USB device 4 (vend/prod 0xea0/0x2168) is not claimed by any active driver

dracae 02-21-2006 03:24 PM

does
lsmod |grep usb-storage
produce any output?

If not try
modprobe usb-storage

then check the output of dmesg

melinapaixao 02-21-2006 03:49 PM

I tried both commands. About the first:

melinapaixao 02-21-2006 03:52 PM

Appeared a lot of things
And the second: initializing USB-storage driver
USB ... registred

dracae 02-21-2006 03:53 PM

Now does your mount command work?


All times are GMT -5. The time now is 12:31 AM.