LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slack 10.2 not detecting my USB drive (https://www.linuxquestions.org/questions/slackware-14/slack-10-2-not-detecting-my-usb-drive-518896/)

sharathg786 01-13-2007 04:30 AM

slack 10.2 not detecting my USB drive
 
Hi, i'm using slackware 10.2 the 2.4.31 kernel, how do i mount a usb flash drive, my /etc/fstab is like this:

Code:

/dev/hda4        swap            swap        defaults        0  0
/dev/hda3        /                ext2        defaults        1  1
/dev/hda6        /fat-e          vfat        defaults        1  0
/dev/cdrom      /mnt/cdrom      auto        noauto,owner,ro  0  0
/dev/hdc        /mnt/dvd        auto        noauto,owner,ro  0  0
/dev/fd0        /mnt/floppy      auto        noauto,owner    0  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0

and the dmesg o/p (last few lines) after i plug my usb flash drive is:

Code:

mice: PS/2 mouse device common for all mice
keyboard: Timeout - AT keyboard not present?(f4)
keyboard: Timeout - AT keyboard not present?(ed)
keyboard: Timeout - AT keyboard not present?(f4)
keyboard: Timeout - AT keyboard not present?(f3)
keyboard: Timeout - AT keyboard not present?(f4)
hub.c: new USB device 00:1d.7-3, assigned address 2
usb.c: USB device not accepting new address=2 (error=-71)
hub.c: new USB device 00:1d.7-3, assigned address 3
usb.c: USB device not accepting new address=3 (error=-71)

plz help!!

darylicious 01-13-2007 04:38 AM

In my case, my USB is detected as sdc. First, you need to create a location where you can mount the files in your thumbdrive. I use /mnt/usbdribe

Code:

mount /dev/sdc -t auto /mnt/usbdrive

sharathg786 01-13-2007 10:31 PM

thanx for the reply, i have created a mount point but how do i find the correct device file to mount, when i tried to mount /dev/sdc it shows:
Code:

mount: /dev/sdc is not a valid block device
I even tried some other files (sda,sda1,sda2,.......)
Do i have to change anything in my /etc/fstab file??

detpenguin 01-13-2007 10:53 PM

you might try sdb1 as your mount point....also, edit your /etc/fstab to include something like this
Quote:

/dev/sdb1 /mnt/usbdrive vfat noauto,users,rw,umask=1000 0 0
and then as root create the mount point /mnt/usbdrive

sharathg786 01-14-2007 02:16 AM

Thanx for your help, its working on sda, after i included that entry in the /etc/fstab file :)


All times are GMT -5. The time now is 07:48 AM.